public interface EventFactory
CBEextended data element.
The purpose of this interface is to create
CommonBaseEvent objects based on a
given event identifier along with the event data. The event data will be specific to
the type of event to create. The factory will know the specific implementation of the
event data. This information will be added to the
CommonBaseEvent object before
returning the object to be populated with context specific information.
|Modifier and Type||Field and Description|
IBM copyright notice field.
|Modifier and Type||Method and Description|
This method creates a
static final java.lang.String COPYRIGHT
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent createEvent(java.lang.String eventIdentifier, java.lang.Object eventData)
CommonBaseEventobject that matches the specified event identifier and populates the event object with the information found in the event data.
eventIdentifier- This is the identifier of the event.
eventData- This is the data to associate with the event object.
CommonBaseEventobject that represents the event and is populated with the specified event data.