public interface EventFactory
CBE
extended 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 |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent |
createEvent(java.lang.String eventIdentifier,
java.lang.Object eventData)
This method creates a
CommonBaseEvent object that matches the specified event identifier
and populates the event object with the information found in the event data. |
static final java.lang.String COPYRIGHT
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent createEvent(java.lang.String eventIdentifier, java.lang.Object eventData)
CommonBaseEvent
object 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.CommonBaseEvent
object that represents the event and is
populated with the specified event data.