Class BaseFeatureSbbImpl<SessionStateType>

  • All Implemented Interfaces:
    com.opencloud.sentinel.common.SentinelExtensionsCMPFieldsAccess, SentinelFeature, SentinelFeatureSbbAccess<SessionStateType>, com.opencloud.sentinel.sbb.SentinelSbbDiagnostics, javax.slee.Sbb

    public abstract class BaseFeatureSbbImpl<SessionStateType>
    extends com.opencloud.sentinel.sbb.SentinelBaseSbb
    implements SentinelFeature, com.opencloud.sentinel.sbb.SentinelSbbDiagnostics, javax.slee.Sbb, SentinelFeatureSbbAccess<SessionStateType>
    Base class for implementation of feature SBBs
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.opencloud.sentinel.sbb.SentinelBaseSbb

        com.opencloud.sentinel.sbb.SentinelBaseSbb.PeriodicWorkHandlerFacilities, com.opencloud.sentinel.sbb.SentinelBaseSbb.SentinelSbbFacilities, com.opencloud.sentinel.sbb.SentinelBaseSbb.SessionTracingConfigurationImpl
    • Field Summary

      • Fields inherited from class com.opencloud.sentinel.sbb.SentinelBaseSbb

        _initialEndpointAciMap, _initialEndpointEventContextMap
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.opencloud.sentinel.sbb.SentinelActivityContextInterface asSentinelActivityContextInterface​(javax.slee.ActivityContextInterface aci)  
      void dependenciesInjected()
      All requested elements have been injected, so the feature may carry out additional initialisation
      java.lang.Object getNewEncodableContext()  
      void startFeature​(java.lang.Object trigger, java.lang.Object activity, javax.slee.ActivityContextInterface aci, java.util.Map<java.lang.String,​ParameterValue> featureParameters)
      Start the actual feature implementation.
      • Methods inherited from class com.opencloud.sentinel.sbb.SentinelBaseSbb

        clearAcisForFsm, clearCacheSbbTracerPrefix, clearEventContextsForFsm, clearUnsuspendedEventContexts, getAciAsSetForEndpoint, getActivityContextNamingFacility, getAlarmFacility, getCMPFields, getCodecTracer, getConvergenceName, getEndpointAciMap, getEndpointEventContextMap, getEventContextAsSetForEndpoint, getNullACIFactory, getNullActivityFactory, getPeriodicWorkTracer, getProfileFacility, getRhinoSbbContext, getSasFacility, getSbbContext, getSbbLifecycleTracer, getSbbLocalObject, getSbbLogIdentifier, getSbbTracer, getSbbTracerPrefix, getSbbTracerPrefixCMP, getSentinelTracerSupport, getServiceActivityContextInterfaceFactory, getServiceActivityFactory, getSessionAwareTracer, getSessionTracerEnabledCMP, getSessionTracingConfiguration, getTimerFacility, markAciAsSetForEndpoint, markEventContextAsSetForEndpoint, ocGetSbbDiagnostics, registerCodecFactory, sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, sbbPostCreate, sbbRemove, sbbRolledBack, sbbStore, setEndpointAciMap, setEndpointEventContextMap, setSbbContext, setSbbTracerPrefix, setSbbTracerPrefixCMP, setSessionTracerEnabledCMP, syncCacheSbbTracerPrefix, unsetSbbContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.slee.Sbb

        sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, sbbPostCreate, sbbRemove, sbbRolledBack, sbbStore, setSbbContext, unsetSbbContext
      • Methods inherited from interface com.opencloud.sentinel.sbb.SentinelSbbDiagnostics

        ocGetSbbDiagnostics
    • Constructor Detail

      • BaseFeatureSbbImpl

        public BaseFeatureSbbImpl()
    • Method Detail

      • startFeature

        public void startFeature​(java.lang.Object trigger,
                                 java.lang.Object activity,
                                 javax.slee.ActivityContextInterface aci,
                                 java.util.Map<java.lang.String,​ParameterValue> featureParameters)
        Start the actual feature implementation. Feature SBBs must implement this method in their abstract class to support feature parameters.
        Specified by:
        startFeature in interface SentinelFeature
        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

        public void dependenciesInjected()
        All requested elements have been injected, so the feature may carry out additional initialisation
        Specified by:
        dependenciesInjected in interface SentinelFeature
      • asSentinelActivityContextInterface

        public com.opencloud.sentinel.sbb.SentinelActivityContextInterface asSentinelActivityContextInterface​(javax.slee.ActivityContextInterface aci)
        Specified by:
        asSentinelActivityContextInterface in class com.opencloud.sentinel.sbb.SentinelBaseSbb
      • getNewEncodableContext

        public java.lang.Object getNewEncodableContext()
        Specified by:
        getNewEncodableContext in class com.opencloud.sentinel.sbb.SentinelBaseSbb