net.trajano.twiff.adapter
Class SessionAdapter
java.lang.Object
net.trajano.twiff.adapter.SessionAdapter
public class SessionAdapter
- extends Object
This provides access to the HttpSession
data.
Adapters like this are meant to remove the implicit casting performed by
those that use it.
- Author:
- Archimedes Trajano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionAdapter
public SessionAdapter(HttpSession session)
- Creates the adapter.
- Parameters:
session
- the session to adapt
getContainer
public final MutablePicoContainer getContainer()
- Returns the
PicoContainer
stored in the session. The container is
stored in the attribute
TwiffInternal.HTTP_SESSION_CONTAINER_KEY
.
- Returns:
- the application level container.
Copyright © 2004-2005 trajano.net. All Rights Reserved.