public interface ServiceLookupFacility
ResourceAdaptorContext.getServiceLookupFacility()
method.Modifier and Type | Method and Description |
---|---|
ReceivableService |
getReceivableService(ServiceID service)
Get information about the event types that a service may receive.
|
ReceivableService getReceivableService(ServiceID service) throws NullPointerException, UnrecognizedServiceException, FacilityException
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 Service Lookup Facility should provide the resource adaptor with information about all the event types that may be received by the service.
This method is a non-transactional method.
service
- the service component identifier for the service.ReceivableService
object that contains information about
the event types that may be received by the service.NullPointerException
- if service
is null
.UnrecognizedServiceException
- if service
does not identify a
service installed in the SLEE.FacilityException
- if the ReceivableService
object could not be
obtained due to a system-level failure.