|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.EFactoryImpl
org.eclipse.hyades.logging.events.cbe.impl.EventFactoryImpl
An implementation of the model Factory.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
|---|
org.eclipse.emf.ecore.InternalEObject.EStore |
| Field Summary | |
|---|---|
static java.lang.String |
CBE_INSTANCE_ADDRESS
Name of the reference address for the mediation handlers in JNDI. |
| Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
|---|
EDATE_FORMATS, ePackage |
| Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from interface org.eclipse.hyades.logging.events.cbe.EventFactory |
|---|
eINSTANCE |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
EventFactoryImpl()
Creates and instance of the factory. |
|
| Method Summary | |
|---|---|
org.eclipse.emf.ecore.EObject |
create(org.eclipse.emf.ecore.EClass eClass)
|
AssociatedEvent |
createAssociatedEvent()
|
AssociationEngine |
createAssociationEngine()
|
AvailableSituation |
createAvailableSituation()
|
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()
|
ConfigureSituation |
createConfigureSituation()
|
ConnectSituation |
createConnectSituation()
|
ContextDataElement |
createContextDataElement()
|
CreateSituation |
createCreateSituation()
|
DependencySituation |
createDependencySituation()
|
DestroySituation |
createDestroySituation()
|
ExtendedDataElement |
createExtendedDataElement()
|
FeatureSituation |
createFeatureSituation()
|
java.lang.String |
createGlobalInstanceId()
Produces a globally unique identifier according to the Internet draft draft-leach-uuids-guids-01 algorithm. |
MsgCatalogToken |
createMsgCatalogToken()
|
MsgDataElement |
createMsgDataElement()
|
OtherSituation |
createOtherSituation()
|
ReportSituation |
createReportSituation()
|
RequestSituation |
createRequestSituation()
|
Situation |
createSituation()
|
StartSituation |
createStartSituation()
|
StopSituation |
createStopSituation()
|
boolean |
getCompleteEvent()
Gets the complete event configuration flag for this event factory instance. |
ContentHandler |
getContentHandler()
Gets the ContentHandler associated with this
event factory instance. |
EventPackage |
getEventPackage()
|
static EventFactory |
getInstance()
Accessor method to retrieve the instance of the singleton factory. |
static EventPackage |
getPackage()
|
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 org.eclipse.emf.ecore.impl.EFactoryImpl |
|---|
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage |
| Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, toString |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EFactory |
|---|
convertToString, createFromString, getEPackage, setEPackage |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| 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 EventPackage getEventPackage()
getEventPackage in interface EventFactorypublic static EventPackage getPackage()
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
create in interface org.eclipse.emf.ecore.EFactorypublic AssociatedEvent createAssociatedEvent()
createAssociatedEvent in interface EventFactorypublic AssociationEngine createAssociationEngine()
createAssociationEngine in interface EventFactorypublic AvailableSituation createAvailableSituation()
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.hyades.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.hyades.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.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.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.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.logging.events.cbe.Situation, java.lang.String, java.lang.String[], java.lang.String, java.lang.String)public ComponentIdentification createComponentIdentification()
createComponentIdentification in interface EventFactorypublic ConfigureSituation createConfigureSituation()
createConfigureSituation in interface EventFactorypublic ConnectSituation createConnectSituation()
createConnectSituation in interface EventFactorypublic ContextDataElement createContextDataElement()
createContextDataElement in interface EventFactorypublic CreateSituation createCreateSituation()
createCreateSituation in interface EventFactorypublic DependencySituation createDependencySituation()
createDependencySituation in interface EventFactorypublic DestroySituation createDestroySituation()
createDestroySituation in interface EventFactorypublic ExtendedDataElement createExtendedDataElement()
createExtendedDataElement in interface EventFactorypublic FeatureSituation createFeatureSituation()
createFeatureSituation in interface EventFactorypublic java.lang.String createGlobalInstanceId()
createGlobalInstanceId in interface EventFactorypublic MsgCatalogToken createMsgCatalogToken()
createMsgCatalogToken in interface EventFactorypublic MsgDataElement createMsgDataElement()
createMsgDataElement in interface EventFactorypublic OtherSituation createOtherSituation()
createOtherSituation in interface EventFactorypublic ReportSituation createReportSituation()
createReportSituation in interface EventFactorypublic RequestSituation createRequestSituation()
createRequestSituation in interface EventFactorypublic Situation createSituation()
createSituation in interface EventFactorypublic StartSituation createStartSituation()
createStartSituation in interface EventFactorypublic StopSituation createStopSituation()
createStopSituation in interface EventFactorypublic void setContentHandler(ContentHandler value)
EventFactoryContentHandler associated with this
event factory instance.
ContentHandlers 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.
ContentHandlers 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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||