Network Deployment (Distributed operating systems), v8.0 > Reference > Log and trace file descriptions


Common Base Event factory context

The event factory context provides a service to look up event factory homes. Retrieve the event factory context using a call to the EventFactoryContext.getInstance method.

Use this class, you can look up the event factory homes by name, and avoid the need to include the typed home in code. The EventFactoryHome name must be located on the class path to be found. The EventFactoryContext context also stores an EventFactoryHome name as a default, which can be obtained with a call to the EventFactoryContext.getInstance.getEventFactoryHome method.

In WAS, the EventFactoryContext context is configured with a default EventFactoryHome name associated to a ContentHandler handler that is 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.EventFactory at www.eclipse.org/hyades.
Log with Common Base Event API and the Java logging API
Log Common Base Events in WAS

+

Search Tips   |   Advanced Search