public abstract class AbstractEventFactory extends java.lang.Object implements EventFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AbstractEventFactory()
This is the default constructor for this class.
|
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 common base event and specifies the extension name of the event as the
event identifier specified.
|
public static final java.lang.String COPYRIGHT
public AbstractEventFactory()
public org.eclipse.hyades.logging.events.cbe.CommonBaseEvent createEvent(java.lang.String eventIdentifier, java.lang.Object eventData)
populateEvent()
to allow the
class to add the event data to the common base event. The common base
event that is created, whether the event data has been added or not, will be returned to the caller.
This event will be given a low priority. It is up to the implementation of populateEvent
to change the priority of the event if required.createEvent
in interface EventFactory
eventIdentifier
- This is the event identifier.eventData
- This is the data to associate with the event.com.ibm.commerce.context.audit.event.EventFactory#createEvent(java.lang.String, java.lang.Object)