Common Base Event factory home
Event Factory homes provide Event Factory instantiation based on a unique factory name.
Event factory home implementations are tightly coupled with content handlers used to populate Common Base Events with template or default data. Event factory instances are maintained by the associated event factory home, based on their unique name. For example, when application code requests a named event factory, the newly created Event Factory instance is returned and persisted for future requests for that named event factory. An abstract event factory home class provides the implementation for the APIs in the event factory home interface. Implementers extend the abstract event factory home class and implement the createContentHandler API to create a typed content handler based on the type of event factory home implementation.
In WebSphere Application Server, the default event factory home that is obtained with a call to EventFactoryContext.getInstance.getEventFactoryHome method is associated with a ContentHandler handler capable of supplying both event template information, as well as WAS runtime default information.
More details can be found in the API documentation for org.eclipse.hyades.logging.events.cbe.EventFactoryHome at www.eclipse.org/hyades.
Related:
The Common Base Event in WAS Create custom Common Base Event factory homes Add logging and tracing to the application Common Base Event structure