org.nanocontainer.nanowar
Class ApplicationScopeObjectReference

java.lang.Object
  extended by org.nanocontainer.nanowar.ApplicationScopeObjectReference
All Implemented Interfaces:
org.picocontainer.defaults.ObjectReference

public class ApplicationScopeObjectReference
extends Object
implements org.picocontainer.defaults.ObjectReference

References an object that lives as an attribute of the ServletContext (application scope)

Author:
Joe Walnes

Constructor Summary
ApplicationScopeObjectReference(javax.servlet.ServletContext context, 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

ApplicationScopeObjectReference

public ApplicationScopeObjectReference(javax.servlet.ServletContext context,
                                       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-2009 Codehaus. All Rights Reserved.