Interface SentinelFeature

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void abortFeature()
      The feature should abandon execution and clear up any resources
      void dependenciesInjected()
      All requested elements have been injected, so the feature may carry out additional initialisation
      java.lang.String getFeatureName()
      All features have a unique name
      void startFeature​(java.lang.Object trigger, java.lang.Object activity, javax.slee.ActivityContextInterface aci)
      kick off the feature
      void startFeature​(java.lang.Object trigger, java.lang.Object activity, javax.slee.ActivityContextInterface aci, java.util.Map<java.lang.String,​ParameterValue> featureParameters)
      kick off the feature
    • Method Detail

      • getFeatureName

        java.lang.String getFeatureName()
        All features have a unique name
        Returns:
        the name of this feature
      • startFeature

        void startFeature​(java.lang.Object trigger,
                          java.lang.Object activity,
                          javax.slee.ActivityContextInterface aci)
        kick off the feature
        Parameters:
        trigger - a triggering context. The feature implementation must be able to cast this to a useful type for it to run
        activity - the slee activity object this feature is related to (may be null)
        aci - the activity context interface of the slee activity this feature is related to
      • startFeature

        void startFeature​(java.lang.Object trigger,
                          java.lang.Object activity,
                          javax.slee.ActivityContextInterface aci,
                          java.util.Map<java.lang.String,​ParameterValue> featureParameters)
        kick off the feature
        Parameters:
        trigger - a triggering context. The feature implementation must be able to cast this to a useful type for it to run
        activity - the slee activity object this feature is related to (may be null)
        aci - the activity context interface of the slee activity this feature is related to
        featureParameters - parameters supplied in the run feature statement that caused this feature to be executed
      • dependenciesInjected

        void dependenciesInjected()
        All requested elements have been injected, so the feature may carry out additional initialisation
      • abortFeature

        void abortFeature()
        The feature should abandon execution and clear up any resources