Interface StateContextLookup
-
- All Known Implementing Classes:
AbstractStateContextLookup,IoSessionStateContextLookup,SingletonStateContextLookup
public interface StateContextLookupLookups aStateContextfrom a collection of event arguments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateContextlookup(java.lang.Object[] eventArgs)Searches the arguments from anEventand returns aStateContextif any of the arguments holds one.
-
-
-
Method Detail
-
lookup
StateContext lookup(java.lang.Object[] eventArgs)
Searches the arguments from anEventand returns aStateContextif any of the arguments holds one. NOTE! This method must create a newStateContextif a compatible object is in the arguments and the next time that same object is passed to this method the sameStateContextshould be returned.- Parameters:
eventArgs- The arguments we are looking for- Returns:
- The StateContext we are looking for
-
-