|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.logging.events.cbe.impl.EventFactoryImpl
Class representing an implementation of an EventFactory.
It provides a create method for each non-abstract class of the model.
| Field Summary | |
|---|---|
static java.lang.String |
CBE_INSTANCE_ADDRESS
Name of the reference address for the mediation handlers in JNDI. |
| Fields inherited from interface org.eclipse.tptp.logging.events.cbe.EventFactory |
|---|
eINSTANCE |
| Constructor Summary | |
|---|---|
EventFactoryImpl()
Creates and instance of the factory |
|
| Method Summary | |
|---|---|
AssociatedEvent |
createAssociatedEvent()
Returns a new object of class 'Associated Event'. |
AssociationEngine |
createAssociationEngine()
Returns a new object of class 'Association Engine'. |
AvailableSituation |
createAvailableSituation()
Returns a new object of class 'Available Situation'. |
CommonBaseEvent |
createCommonBaseEvent()
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
ComponentIdentification reporterCompId,
ComponentIdentification sourceCompId,
Situation situation,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
ComponentIdentification reporterCompId,
ComponentIdentification sourceCompId,
Situation situation,
java.lang.String msgCatalogId,
java.lang.String[] msgCatalogTokens,
java.lang.String msgId,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
Situation situation,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
Situation situation,
java.lang.String msgCatalogId,
java.lang.String[] msgCatalogTokens,
java.lang.String msgId,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(java.lang.String extensionName)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(java.lang.String extensionName,
long creationTime)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEventGen()
|
ComponentIdentification |
createComponentIdentification()
Returns a new object of class 'Component Identification'. |
ConfigureSituation |
createConfigureSituation()
Returns a new object of class 'Configure Situation'. |
ConnectSituation |
createConnectSituation()
Returns a new object of class 'Connect Situation'. |
ContextDataElement |
createContextDataElement()
Returns a new object of class 'Context Data Element'. |
CreateSituation |
createCreateSituation()
Returns a new object of class 'Create Situation'. |
DependencySituation |
createDependencySituation()
Returns a new object of class 'Dependency Situation'. |
DestroySituation |
createDestroySituation()
Returns a new object of class 'Destroy Situation'. |
ExtendedDataElement |
createExtendedDataElement()
Returns a new object of class 'Extended Data Element'. |
FeatureSituation |
createFeatureSituation()
Returns a new object of class 'Feature Situation'. |
java.lang.String |
createGlobalInstanceId()
Produces a globally unique identifier according to the Internet draft draft-leach-uuids-guids-01 algorithm. |
MsgCatalogToken |
createMsgCatalogToken()
Returns a new object of class 'Msg Catalog Token'. |
MsgDataElement |
createMsgDataElement()
Returns a new object of class 'Msg Data Element'. |
OtherSituation |
createOtherSituation()
Returns a new object of class 'Other Situation'. |
ReportSituation |
createReportSituation()
Returns a new object of class 'Report Situation'. |
RequestSituation |
createRequestSituation()
Returns a new object of class 'Request Situation'. |
Situation |
createSituation()
Returns a new object of class 'Situation'. |
StartSituation |
createStartSituation()
Returns a new object of class 'Start Situation'. |
StopSituation |
createStopSituation()
Returns a new object of class 'Stop Situation'. |
boolean |
getCompleteEvent()
Gets the complete event configuration flag for this event factory instance. |
ContentHandler |
getContentHandler()
Gets the ContentHandler associated with this event factory
instance.
|
static EventFactory |
getInstance()
Accessor method to retrieve the instance of the singleton factory. |
javax.naming.Reference |
getReference()
|
void |
setCompleteEvent(boolean completeEvent)
Sets the complete event configuration flag for this event factory instance. |
void |
setContentHandler(ContentHandler value)
Sets the ContentHandler associated with this event factory
instance.
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CBE_INSTANCE_ADDRESS
The getReference method encodes the mediation handlers in
their serialized form inside a reference address and uses this name for
that address.
| Constructor Detail |
public EventFactoryImpl()
| Method Detail |
public AssociatedEvent createAssociatedEvent()
EventFactoryReturns a new object of class 'Associated Event'.
createAssociatedEvent in interface EventFactorypublic AssociationEngine createAssociationEngine()
EventFactoryReturns a new object of class 'Association Engine'.
createAssociationEngine in interface EventFactorypublic AvailableSituation createAvailableSituation()
EventFactoryReturns a new object of class 'Available Situation'.
createAvailableSituation in interface EventFactorypublic CommonBaseEvent createCommonBaseEventGen()
public CommonBaseEvent createCommonBaseEvent()
EventFactoryReturns a new object of class 'Common Base Event'.
createCommonBaseEvent in interface EventFactoryEventFactory.createCommonBaseEvent()
public CommonBaseEvent createCommonBaseEvent(java.lang.String extensionName,
long creationTime)
EventFactoryReturns a new object of class 'Common Base Event'.
createCommonBaseEvent in interface EventFactoryextensionName - the extension name for the newly returned event or null.creationTime - the creation time, in xsd:dateTime format, for the newly
created event or -1.
EventFactory.createCommonBaseEvent(String,
long)public CommonBaseEvent createCommonBaseEvent(java.lang.String extensionName)
EventFactoryReturns a new object of class 'Common Base Event'.
createCommonBaseEvent in interface EventFactoryextensionName - the extension name for the newly returned event or null.
EventFactory.createCommonBaseEvent(String)
public CommonBaseEvent createCommonBaseEvent(short severity,
Situation situation,
java.lang.String msg)
EventFactoryReturns a new object of class 'Common Base Event'.
createCommonBaseEvent in interface EventFactoryseverity - the severity of the event being created or -1situation - the situation of the event being created or nullmsg - the msg of the CommonBaseEvent created or null
EventFactory.createCommonBaseEvent(short,
org.eclipse.tptp.logging.events.cbe.Situation,
java.lang.String)
public CommonBaseEvent createCommonBaseEvent(short severity,
Situation situation,
java.lang.String msgCatalogId,
java.lang.String[] msgCatalogTokens,
java.lang.String msgId,
java.lang.String msg)
EventFactoryReturns a new object of class 'Common Base Event'.
createCommonBaseEvent in interface EventFactoryseverity - the severity of the event being created or -1situation - the situation of the event being created or nullmsgCatalogId - the msgCatalogId of the MsgDataElement of the CommonBaseEvent
being created or nullmsgCatalogTokens - the msgCatalogTokens of the MsgDataElement of the
CommonBaseEvent being created or nullmsgId - the msgId of the MsgDataElement of the CommonBaseEvent being
created or nullmsg - the msg of the CommonBaseEvent created or null
EventFactory.createCommonBaseEvent(short,
org.eclipse.tptp.logging.events.cbe.Situation,
java.lang.String, java.lang.String[], java.lang.String,
java.lang.String)
public CommonBaseEvent createCommonBaseEvent(short severity,
ComponentIdentification reporterCompId,
ComponentIdentification sourceCompId,
Situation situation,
java.lang.String msg)
EventFactoryReturns a new object of class 'Common Base Event'.
createCommonBaseEvent in interface EventFactoryseverity - the severity of the event being created or -1reporterCompId - the reporter component Id of the event being created or nullsourceCompId - the source component Id of the event being created or nullsituation - the situation of the event being created or nullmsg - the msg of the CommonBaseEvent created or null
EventFactory.createCommonBaseEvent(short,
org.eclipse.tptp.logging.events.cbe.ComponentIdentification,
org.eclipse.tptp.logging.events.cbe.ComponentIdentification,
org.eclipse.tptp.logging.events.cbe.Situation,
java.lang.String)
public CommonBaseEvent createCommonBaseEvent(short severity,
ComponentIdentification reporterCompId,
ComponentIdentification sourceCompId,
Situation situation,
java.lang.String msgCatalogId,
java.lang.String[] msgCatalogTokens,
java.lang.String msgId,
java.lang.String msg)
EventFactoryReturns a new object of class 'Common Base Event'.
createCommonBaseEvent in interface EventFactoryseverity - the severity of the event being created or -1reporterCompId - the reporter component Id of the event being created or nullsourceCompId - the source component Id of the event being created or nullsituation - the situation of the event being created or nullmsgCatalogId - the msgCatalogId of the MsgDataElement of the CommonBaseEvent
being created or nullmsgCatalogTokens - the msgCatalogTokens of the MsgDataElement of the
CommonBaseEvent being created or nullmsgId - the msgId of the MsgDataElement of the CommonBaseEvent being
created or nullmsg - the msg of the CommonBaseEvent created or null
EventFactory.createCommonBaseEvent(short,
org.eclipse.tptp.logging.events.cbe.ComponentIdentification,
org.eclipse.tptp.logging.events.cbe.ComponentIdentification,
org.eclipse.tptp.logging.events.cbe.Situation,
java.lang.String, java.lang.String[], java.lang.String,
java.lang.String)public ComponentIdentification createComponentIdentification()
EventFactoryReturns a new object of class 'Component Identification'.
createComponentIdentification in interface EventFactorypublic ConfigureSituation createConfigureSituation()
EventFactoryReturns a new object of class 'Configure Situation'.
createConfigureSituation in interface EventFactorypublic ConnectSituation createConnectSituation()
EventFactoryReturns a new object of class 'Connect Situation'.
createConnectSituation in interface EventFactorypublic ContextDataElement createContextDataElement()
EventFactoryReturns a new object of class 'Context Data Element'.
createContextDataElement in interface EventFactorypublic CreateSituation createCreateSituation()
EventFactoryReturns a new object of class 'Create Situation'.
createCreateSituation in interface EventFactorypublic DependencySituation createDependencySituation()
EventFactoryReturns a new object of class 'Dependency Situation'.
createDependencySituation in interface EventFactorypublic DestroySituation createDestroySituation()
EventFactoryReturns a new object of class 'Destroy Situation'.
createDestroySituation in interface EventFactorypublic ExtendedDataElement createExtendedDataElement()
EventFactoryReturns a new object of class 'Extended Data Element'.
createExtendedDataElement in interface EventFactorypublic FeatureSituation createFeatureSituation()
EventFactoryReturns a new object of class 'Feature Situation'.
createFeatureSituation in interface EventFactorypublic java.lang.String createGlobalInstanceId()
createGlobalInstanceId in interface EventFactorypublic MsgCatalogToken createMsgCatalogToken()
EventFactoryReturns a new object of class 'Msg Catalog Token'.
createMsgCatalogToken in interface EventFactorypublic MsgDataElement createMsgDataElement()
EventFactoryReturns a new object of class 'Msg Data Element'.
createMsgDataElement in interface EventFactorypublic OtherSituation createOtherSituation()
EventFactoryReturns a new object of class 'Other Situation'.
createOtherSituation in interface EventFactorypublic ReportSituation createReportSituation()
EventFactoryReturns a new object of class 'Report Situation'.
createReportSituation in interface EventFactorypublic RequestSituation createRequestSituation()
EventFactoryReturns a new object of class 'Request Situation'.
createRequestSituation in interface EventFactorypublic Situation createSituation()
EventFactoryReturns a new object of class 'Situation'.
createSituation in interface EventFactorypublic StartSituation createStartSituation()
EventFactoryReturns a new object of class 'Start Situation'.
createStartSituation in interface EventFactorypublic StopSituation createStopSituation()
EventFactoryReturns a new object of class 'Stop Situation'.
createStopSituation in interface EventFactorypublic void setContentHandler(ContentHandler value)
EventFactoryContentHandler associated with this event factory
instance.
ContentHandler s associated with this event factory
instance are assigned to each newly create event instance.
setContentHandler in interface EventFactoryvalue - The new ContentHandler associated with this
event factory instance.public ContentHandler getContentHandler()
EventFactoryContentHandler associated with this event factory
instance.
ContentHandler s associated with this event factory
instance are assigned to each newly create event instance.
getContentHandler in interface EventFactoryContentHandler associated with this event
factory instance, otherwise null.public void setCompleteEvent(boolean completeEvent)
EventFactory
The complete event configuration flag instructs the event factory
instance to automatically complete newly create event instances using the
ContentHandler associated with this event factory
instance, if any.
If the complete event configuration flag is false, the event factory will not automatically complete newly create event instances.
By default, the complete event configuration flag is false.
setCompleteEvent in interface EventFactorycompleteEvent - The complete event configuration flag.public boolean getCompleteEvent()
EventFactory
The complete event configuration flag instructs the event factory
instance to automatically complete newly create event instances using the
ContentHandler associated with this event factory
instance, if any.
If the complete event configuration flag is false, the event factory will not automatically complete newly create event instances.
By default, the complete event configuration flag is false.
getCompleteEvent in interface EventFactory
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingExceptionReferenceable.getReference()public static EventFactory getInstance()
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||