javax.slee.resource
Interface ReceivableService.ReceivableEvent

Enclosing interface:
ReceivableService

public static interface ReceivableService.ReceivableEvent

The ReceiveableEvent interface identifies information about an event type that may be received by SBBs in a service.

Since:
SLEE 1.1

Method Summary
 EventTypeID getEventType()
          Get the component identifier of the event type.
 java.lang.String getResourceOption()
          Get the resource option specified by the SBB receiving the event type.
 boolean isInitialEvent()
          Get the initial-event flag for the event type.
 

Method Detail

getEventType

EventTypeID getEventType()
Get the component identifier of the event type.

This method is a non-transactional method.

Returns:
the component identifier of the event type.

getResourceOption

java.lang.String getResourceOption()
Get the resource option specified by the SBB receiving the event type.

This method is a non-transactional method.

Returns:
the resource option. May be null if the SBB did not specify a resource option.

isInitialEvent

boolean isInitialEvent()
Get the initial-event flag for the event type. An event type can only be an initial event if the event type is received by the service's root SBB and the root SBB has declared the event type as an initial event.

This method is a non-transactional method.

Returns:
true if the event type is an initial event for the service, false otherwise.


Copyright © 2008. All Rights Reserved.