Package com.opencloud.sentinel.mapper
Interface Mapper<SessionStateType>
-
public interface Mapper<SessionStateType>A Sentinel Mapper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectmap(java.lang.Object inputArg, SessionStateType sessionState, MapperFacilities facilities)Construct a new object by 'mapping' fields from an input object and session state
-
-
-
Method Detail
-
map
java.lang.Object map(java.lang.Object inputArg, SessionStateType sessionState, MapperFacilities facilities) throws MapperExceptionConstruct a new object by 'mapping' fields from an input object and session state- Parameters:
inputArg- the input objectsessionState- sentinel session statefacilities- useful facilities mappers may use- Returns:
- a new object
- Throws:
MapperException- if the mapping could not be perform successfully
-
-