Package com.opencloud.sentinel.endpoint
Interface SentinelEndpoint
-
public interface SentinelEndpoint
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROCESS_BY_EVENT_MANAGER
a 'target feature' that is used when Events should be routed via Session Manangement to registered Event Managers.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processEvent(java.lang.String targetFeature, java.lang.Object event, boolean initialEvent, boolean useEventObject, javax.slee.ActivityContextInterface aci, javax.slee.EventContext eventContext)
Request delivery of an extension event from the event handler SBB Part to the Sentinel session management.void
processEvent(java.lang.String targetFeature, java.lang.Object event, boolean initialEvent, javax.slee.ActivityContextInterface aci, javax.slee.EventContext eventContext)
Request delivery of an extension event from the event handler SBB Part to the Sentinel session management.
-
-
-
Field Detail
-
PROCESS_BY_EVENT_MANAGER
static final java.lang.String PROCESS_BY_EVENT_MANAGER
a 'target feature' that is used when Events should be routed via Session Manangement to registered Event Managers.- See Also:
- Constant Field Values
-
-
Method Detail
-
processEvent
void processEvent(java.lang.String targetFeature, java.lang.Object event, boolean initialEvent, javax.slee.ActivityContextInterface aci, javax.slee.EventContext eventContext) throws SentinelFireEventException
Request delivery of an extension event from the event handler SBB Part to the Sentinel session management. The core will trigger the execution of the target feature. The event will be passed via startFeature to the feature. Note that the call to startFeature will be performed during the invocation of fireEvent so it is mandatory that fireEvent is independent of the feature logic such as an FSM implementing the feature behaviour.- Parameters:
targetFeature
- the name of the feature to receive the eventevent
- the event to deliverinitialEvent
- true, if this is an initial eventaci
- the aci the event was received ineventContext
- the slee event context of the event- Throws:
java.lang.NullPointerException
- event argument is nulljava.lang.IllegalArgumentException
- target feature instance does not existSentinelFireEventException
- Sentinel could not accept the event for processing
-
processEvent
void processEvent(java.lang.String targetFeature, java.lang.Object event, boolean initialEvent, boolean useEventObject, javax.slee.ActivityContextInterface aci, javax.slee.EventContext eventContext) throws SentinelFireEventException
Request delivery of an extension event from the event handler SBB Part to the Sentinel session management. The core will trigger the execution of the target feature. The event will be passed via startFeature to the feature. Note that the call to startFeature will be performed during the invocation of fireEvent so it is mandatory that fireEvent is independent of the feature logic such as an FSM implementing the feature behaviour.- Parameters:
targetFeature
- the name of the feature to receive the eventevent
- the event to deliverinitialEvent
- true, if this is an initial eventuseEventObject
- true, if the event object can be used by session management, false, if the event object should be accessed via the event contextaci
- the aci the event was received ineventContext
- the slee event context of the event- Throws:
java.lang.NullPointerException
- event argument is nulljava.lang.IllegalArgumentException
- target feature instance does not existSentinelFireEventException
- Sentinel could not accept the event for processing
-
-