Package com.opencloud.sce.fsmtool
Interface Endpoint
-
public interface Endpoint
The Endpoint interface is used to provide a JSLEE view of an FSM endpoint.Used in FSM action implementation methods.
Supports:
- the association of ACIs with an endpoint
- attachment and detachment of the ACI from the implementing SBB
- the association of an SbbLocalObject with the endpoint
- storing the eventContext related to the endpoint's ACI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
attachToAci()
void
clearEventContext()
void
clearSbbLocalObject()
void
detachFromAci()
ActivityContextInterface
getAci()
Object
getActivityContextInterfaceFactory()
Object
getEndpointInterface()
String
getEndpointName()
EventContext
getEventContext()
SbbLocalObject
getSbbLocalObject()
boolean
hasAci()
boolean
hasEventContext()
boolean
isAttachedToAci()
int
ordinal()
void
setAci(ActivityContextInterface aci)
void
setActivityContextInterfaceFactory(Object activityContextInterfaceFactory)
Used to register an aci factory with the endpointvoid
setEndpointInterface(Object endpointInterface)
Used to register a resource adaptor interface with the endpointvoid
setEventContext(EventContext eventContext)
void
setSbbLocalObject(SbbLocalObject sbbLocalObject)
Used to associate the sbblocalobject of an sbb child or peer with the endpoint
-
-
-
Method Detail
-
getEndpointName
String getEndpointName()
-
ordinal
int ordinal()
-
setAci
void setAci(ActivityContextInterface aci)
-
attachToAci
void attachToAci()
-
detachFromAci
void detachFromAci()
-
isAttachedToAci
boolean isAttachedToAci()
-
hasAci
boolean hasAci()
-
getAci
ActivityContextInterface getAci()
-
setEventContext
void setEventContext(EventContext eventContext)
-
getEventContext
EventContext getEventContext()
-
clearEventContext
void clearEventContext()
-
hasEventContext
boolean hasEventContext()
-
getEndpointInterface
Object getEndpointInterface()
-
getActivityContextInterfaceFactory
Object getActivityContextInterfaceFactory()
-
setActivityContextInterfaceFactory
void setActivityContextInterfaceFactory(Object activityContextInterfaceFactory)
Used to register an aci factory with the endpoint- Parameters:
activityContextInterfaceFactory
-
-
setEndpointInterface
void setEndpointInterface(Object endpointInterface)
Used to register a resource adaptor interface with the endpoint- Parameters:
endpointInterface
-
-
getSbbLocalObject
SbbLocalObject getSbbLocalObject()
-
clearSbbLocalObject
void clearSbbLocalObject()
-
setSbbLocalObject
void setSbbLocalObject(SbbLocalObject sbbLocalObject)
Used to associate the sbblocalobject of an sbb child or peer with the endpoint- Parameters:
activityContextInterfaceFactory
-
-
-