public interface SentinelFeature
Modifier and Type | Method and 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
|
java.lang.String getFeatureName()
void startFeature(java.lang.Object trigger, java.lang.Object activity, javax.slee.ActivityContextInterface aci)
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 tovoid startFeature(java.lang.Object trigger, java.lang.Object activity, javax.slee.ActivityContextInterface aci, java.util.Map<java.lang.String,ParameterValue> featureParameters)
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 executedvoid dependenciesInjected()
void abortFeature()
Copyright © OpenCloud. All Rights Reserved.