public interface MapperLibrary<MapperExecutionPoint extends java.lang.Enum<?>>
Modifier and Type | Method and Description |
---|---|
<SessionStateType> |
findMapper(com.opencloud.sentinel.common.SentinelSelectionKey key,
java.lang.Class<?> from,
java.lang.Class<?> to)
Retrieve a mapper
|
<SessionStateType> |
findMapper(com.opencloud.sentinel.common.SentinelSelectionKey key,
java.lang.Class<?> from,
java.lang.Class<?> to,
MapperExecutionPoint mappingPoint)
Retrieve a mapper
|
<SessionStateType> Mapper<SessionStateType> findMapper(com.opencloud.sentinel.common.SentinelSelectionKey key, java.lang.Class<?> from, java.lang.Class<?> to) throws MapperException
key
- selection keyfrom
- class the mapper maps fromto
- class the mapper maps tooMapperException
- if there is a failure whilst finding a mapper<SessionStateType> Mapper<SessionStateType> findMapper(com.opencloud.sentinel.common.SentinelSelectionKey key, java.lang.Class<?> from, java.lang.Class<?> to, MapperExecutionPoint mappingPoint) throws MapperException
key
- selection keyfrom
- class the mapper maps fromto
- class the mapper maps toomappingPoint
- point in session where mapping is requiredMapperException
- if there is a failure whilst finding a mapperCopyright © OpenCloud. All Rights Reserved.