Interface StateContextLookup

All Known Implementing Classes:
AbstractStateContextLookup, IoSessionStateContextLookup, SingletonStateContextLookup

public interface StateContextLookup
Lookups a StateContext from a collection of event arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(Object[] eventArgs)
    Searches the arguments from an Event and returns a StateContext if any of the arguments holds one.
  • Method Details

    • lookup

      StateContext lookup(Object[] eventArgs)
      Searches the arguments from an Event and returns a StateContext if any of the arguments holds one. NOTE! This method must create a new StateContext if a compatible object is in the arguments and the next time that same object is passed to this method the same StateContext should be returned.
      Parameters:
      eventArgs - The arguments we are looking for
      Returns:
      The StateContext we are looking for