public interface PlugInEventBeanFactory
EventBean
event object wrapper for a plug-in event representation.
Implementations typically reflect on the event object to be processed and decides on the proper EventType
to assign. If the implementation finds that it cannot handle the event object, it should return null.
Returning null gives another instance of this class as specified by the list of URI to handle the event object.
Modifier and Type | Method and Description |
---|---|
EventBean |
create(Object theEvent,
URI resolutionURI)
Returns an event wrapper for the event object specific to the plug-in event representation
or using one of the built-in types, or null if the event object is unknown and cannot be handled.
|
EventBean create(Object theEvent, URI resolutionURI)
theEvent
- is the event object to reflect upon and wrapresolutionURI
- is the URI used originally for obtaining the event sender