public interface EventLookupFacility
ResourceAdaptorContext.getEventLookupFacility()
method.| Modifier and Type | Method and Description |
|---|---|
FireableEventType |
getFireableEventType(EventTypeID eventType)
Get a
FireableEventType object for a given event type. |
FireableEventType getFireableEventType(EventTypeID eventType) throws NullPointerException, UnrecognizedEventException, FacilityException
FireableEventType object for a given event type. The
FireableEventType object is used to identify the type of an event
fired to the SLEE by a resource adaptor.
The SLEE need only provide a resource adaptor with information about the event types that the resource adaptor may fire. Generally this is limited to the resource adaptor types implemented by the resource adaptor. However a resource adaptor may be able to fire events of any type if its deployment descriptor has disabled this limitation, and in such cases the Event Lookup Facility should provide the resource adaptor with information about all the event types that are installed in the SLEE.
This method is a non-transactional method.
eventType - the event type component identifier for the event type.FireableEventType object for the event type.NullPointerException - if eventType is null.UnrecognizedEventException - if eventType does not identify an
event type installed in the SLEE. This exception may also be thrown if the
event type is not referenced by any of the resource adaptor types implemented
by the resource adaptor (and is hence theorectically unrecognizable to that
resource adaptor) unless this check has been disabled in the resource
adaptor's deployment descriptor.FacilityException - if the FireableEventType object could not be
obtained due to a system-level failure.