org.rapla.framework
Class RaplaDefaultContext

java.lang.Object
  extended by org.rapla.framework.RaplaDefaultContext
All Implemented Interfaces:
RaplaContext
Direct Known Subclasses:
MenuContext

public class RaplaDefaultContext
extends Object
implements RaplaContext


Constructor Summary
RaplaDefaultContext()
           
RaplaDefaultContext(RaplaContext parent)
           
 
Method Summary
protected  Object getUnsave(String key)
           
 boolean has(String key)
           
 Object lookup(String key)
          Returns a reference to the requested object (e.g. a component instance).
 void put(String key, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RaplaDefaultContext

public RaplaDefaultContext()

RaplaDefaultContext

public RaplaDefaultContext(RaplaContext parent)
Method Detail

lookup

public Object lookup(String key)
              throws RaplaContextException
Description copied from interface: RaplaContext
Returns a reference to the requested object (e.g. a component instance). throws a RaplaContextException if the object can't be returned. This could have different reasons: For example it is not found in the context, or there has been a problem during the component creation.

Specified by:
lookup in interface RaplaContext
Throws:
RaplaContextException

has

public boolean has(String key)
Specified by:
has in interface RaplaContext

put

public void put(String key,
                Object object)

getUnsave

protected Object getUnsave(String key)


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.