Class NullSentinelFeature

  • All Implemented Interfaces:
    SentinelFeature

    public class NullSentinelFeature
    extends BaseFeature<NullSentinelSessionState,​FeatureEndpoint>
    NullSentinelFeature is used by Sentinel if a feature that does not exist is referenced in a feature execution script. NullSentinelFeature responds with featureCannotStart with an message containing the name of the unknown feature that was requested.
    • Constructor Detail

      • NullSentinelFeature

        public NullSentinelFeature​(java.lang.String name,
                                   java.lang.String factoryName,
                                   FeatureEndpoint caller,
                                   com.opencloud.sce.fsmtool.Facilities facilities,
                                   NullSentinelSessionState sessionState)
    • Method Detail

      • getFeatureName

        public final java.lang.String getFeatureName()
        Description copied from interface: SentinelFeature
        All features have a unique name
        Returns:
        the name of this feature
      • startFeature

        public void startFeature​(java.lang.Object trigger,
                                 java.lang.Object activity,
                                 javax.slee.ActivityContextInterface aci)
        Responds with featureCannotStart to inform core that an unknown feature was requested.
        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