Interface SentinelLocal
-
- All Superinterfaces:
javax.slee.SbbLocalObject
@PropagateUncheckedThrowables public interface SentinelLocal extends javax.slee.SbbLocalObjectSBB 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.StringgetConvergenceName()Return the convergence name for the service sbb.FeatureEndpointgetCurrentFeatureEndpoint()Get the callers endpointcom.opencloud.sentinel.feature.spi.FeatureSbbSessionTraceConfiggetFeatureSbbSessionTraceConfig()Get the Sentinels session trace configuration interface for feature SBBsMapperFacilitiesgetMapperFacilities()Get the Sentinel mapper facilities.MapperLibrary<?>getMapperLibrary()Get the Sentinel mapper library.SentinelSessionStategetSentinelSessionState()Get the session statevoidrunInSbbLocalContext(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.
-
-