Interface SentinelLocal
-
- All Superinterfaces:
javax.slee.SbbLocalObject
@PropagateUncheckedThrowables public interface SentinelLocal extends javax.slee.SbbLocalObject
SBB Local interface that the Sentinel core provides to SBB features
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getConvergenceName()
Return the convergence name for the service sbb.FeatureEndpoint
getCurrentFeatureEndpoint()
Get the callers endpointcom.opencloud.sentinel.feature.spi.FeatureSbbSessionTraceConfig
getFeatureSbbSessionTraceConfig()
Get the Sentinels session trace configuration interface for feature SBBsMapperFacilities
getMapperFacilities()
Get the Sentinel mapper facilities.MapperLibrary<?>
getMapperLibrary()
Get the Sentinel mapper library.SentinelSessionState
getSentinelSessionState()
Get the session statevoid
runInSbbLocalContext(java.lang.Runnable c)
Performs .run() on a Runnable in the sbb local context.
-
-
-
Method Detail
-
getCurrentFeatureEndpoint
FeatureEndpoint getCurrentFeatureEndpoint()
Get the callers endpoint- Returns:
- feature endpoint
-
getSentinelSessionState
SentinelSessionState getSentinelSessionState()
Get the session state- Returns:
- session state
-
getFeatureSbbSessionTraceConfig
com.opencloud.sentinel.feature.spi.FeatureSbbSessionTraceConfig getFeatureSbbSessionTraceConfig()
Get the Sentinels session trace configuration interface for feature SBBs- Returns:
- session trace configuration interface for feature SBBs
-
getMapperLibrary
MapperLibrary<?> getMapperLibrary()
Get the Sentinel mapper library.- Returns:
- the mapper library.
-
getMapperFacilities
MapperFacilities getMapperFacilities()
Get the Sentinel mapper facilities.- Returns:
- the mapper facilities.
-
runInSbbLocalContext
void runInSbbLocalContext(java.lang.Runnable c)
Performs .run() on a Runnable in the sbb local context. This is used by feature endpoint impls to ensure that their logic occurs in the context of the service sbb.
-
getConvergenceName
java.lang.String getConvergenceName()
Return the convergence name for the service sbb.
-
-