net.sourceforge.jaulp.auth.interfaces
Interface SessionContext<K>

Type Parameters:
K - The Type for the Key.
All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
UserSessionContext

public interface SessionContext<K>
extends java.io.Serializable

The Interface SessionContext.

Version:
1.0
Author:
Asterios Raptis

Method Summary
 void addSession(Session session)
          Adds the session to the context.
 Session getSession(K id)
          Gets the session from the given id.
 void removeSession(K id)
          Removes the session from the context.
 

Method Detail

addSession

void addSession(Session session)
Adds the session to the context.

Parameters:
session - the session

getSession

Session getSession(K id)
Gets the session from the given id.

Parameters:
id - the id
Returns:
the session

removeSession

void removeSession(K id)
Removes the session from the context.

Parameters:
id - the id from the session to be removed.


Copyright © 2010. All Rights Reserved.