Interface ContainerProvider.SessionAttributeEventListener<CC,S,L,SC>

Type Parameters:
CC - the container context type
S - the container session type
L - the container session event listener type
SC - the session context type
All Superinterfaces:
ContainerProvider<CC,S,L,SC>
Enclosing interface:
ContainerProvider<CC,S,L,SC>

public static interface ContainerProvider.SessionAttributeEventListener<CC,S,L,SC> extends ContainerProvider<CC,S,L,SC>
A provider where session attributes implement the passivation/activation event listener.
Author:
Paul Ferraro
  • Method Details

    • getSessionEventListener

      default Optional<L> getSessionEventListener(S session, Object attribute)
      Description copied from interface: ContainerProvider
      Returns the container specific activation/passivation listener for the specified attribute of the specified session, if one exists.
      Specified by:
      getSessionEventListener in interface ContainerProvider<CC,S,L,SC>
      Parameters:
      session - the session event source
      attribute - the session attribute event source
      Returns:
      the container specific activation/passivation listener for the specified attribute of the specified session, if one exists.
    • getSessionEventListenerClass

      Class<L> getSessionEventListenerClass()
      Returns the specification type of the session event listener implemented by interested session attributes.
      Returns:
      the specification type of the session event listener implemented by interested session attributes.