javax.slee.resource
Interface ReceivableService


public interface ReceivableService

The ReceivableService interface provides information about the event types that may be received by a service installed in the SLEE.

Since:
SLEE 1.1

Nested Class Summary
static interface ReceivableService.ReceivableEvent
          The ReceiveableEvent interface identifies information about an event type that may be received by SBBs in a service.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compare this ReceivableService object for equality with another object.
 ReceivableService.ReceivableEvent[] getReceivableEvents()
          Get information about the event types that can be received by SBBs in the service.
 ServiceID getService()
          Get the component identifier of the service represented by this ReceivableService object.
 

Method Detail

getService

ServiceID getService()
Get the component identifier of the service represented by this ReceivableService object.

This method is a non-transactional method.

Returns:
the component identifier of the service.

getReceivableEvents

ReceivableService.ReceivableEvent[] getReceivableEvents()
Get information about the event types that can be received by SBBs in the service.

If different SBBs in the service have specified to receive the same event type but with different resource options, then separate ReceivableEvent objects are included in the returned array for each unique resource option.

This method is a non-transactional method.

Returns:
an array of ReceivableEvent objects that contain information about the event types that can be received by SBBs in the service.

equals

boolean equals(java.lang.Object obj)
Compare this ReceivableService object for equality with another object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to compare this with.
Returns:
true if obj is a ReceivableService object and the service component identifier of this object equals the service component identifier contained by obj.
See Also:
Object.equals(Object)


Copyright © 2008. All Rights Reserved.