org.nanocontainer.nanowar
Class SessionScopeObjectReference

java.lang.Object
  extended byorg.nanocontainer.nanowar.SessionScopeObjectReference
All Implemented Interfaces:
org.picocontainer.defaults.ObjectReference, Serializable

public class SessionScopeObjectReference
extends Object
implements org.picocontainer.defaults.ObjectReference, Serializable

References an object that lives as an attribute of the HttpSession.

Author:
Joe Walnes
See Also:
Serialized Form

Constructor Summary
SessionScopeObjectReference(javax.servlet.http.HttpSession session, String key)
           
 
Method Summary
 Object get()
           
 void set(Object item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionScopeObjectReference

public SessionScopeObjectReference(javax.servlet.http.HttpSession session,
                                   String key)
Method Detail

set

public void set(Object item)
Specified by:
set in interface org.picocontainer.defaults.ObjectReference

get

public Object get()
Specified by:
get in interface org.picocontainer.defaults.ObjectReference


Copyright © 2003-2006 Codehaus. All Rights Reserved.