Interface SentinelFeature
-
- All Known Subinterfaces:
SipFeature
,Ss7Feature
- All Known Implementing Classes:
BaseFeature
,BaseFeatureSbbImpl
,FeatureSbbFacade
,NullSentinelFeature
public interface SentinelFeature
A Sentinel feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
abortFeature()
The feature should abandon execution and clear up any resourcesvoid
dependenciesInjected()
All requested elements have been injected, so the feature may carry out additional initialisationjava.lang.String
getFeatureName()
All features have a unique namevoid
startFeature(java.lang.Object trigger, java.lang.Object activity, javax.slee.ActivityContextInterface aci)
kick off the featurevoid
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 runactivity
- 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 runactivity
- 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 tofeatureParameters
- 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
-
-