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 Detail

      • getEndpointName

        String getEndpointName()
      • ordinal

        int ordinal()
      • attachToAci

        void attachToAci()
      • detachFromAci

        void detachFromAci()
      • isAttachedToAci

        boolean isAttachedToAci()
      • hasAci

        boolean hasAci()
      • setEventContext

        void setEventContext​(EventContext eventContext)
      • 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 -
      • clearSbbLocalObject

        void clearSbbLocalObject()
      • setSbbLocalObject

        void setSbbLocalObject​(SbbLocalObject sbbLocalObject)
        Used to associate the sbblocalobject of an sbb child or peer with the endpoint
        Parameters:
        activityContextInterfaceFactory -