org.apache.cocoon.callstack
Class CallScope

java.lang.Object
  extended byorg.apache.cocoon.callstack.CallScope
All Implemented Interfaces:
Scope

public class CallScope
extends Object
implements Scope

Stack based scope implementation. It is based on the CallStack and an object is in scope when it is in the top frame of the stack.

Since:
1.0.0
Version:
$Id: CallScope.java 608375 2008-01-03 08:33:00Z reinhard $

Constructor Summary
CallScope()
           
 
Method Summary
 Object get(String name, ObjectFactory objectFactory)
           
 String getConversationId()
           
 void registerDestructionCallback(String name, Runnable callback)
           
 Object remove(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallScope

public CallScope()
Method Detail

get

public Object get(String name,
                  ObjectFactory objectFactory)
Specified by:
get in interface Scope

remove

public Object remove(String name)
Specified by:
remove in interface Scope

getConversationId

public String getConversationId()
Specified by:
getConversationId in interface Scope

registerDestructionCallback

public void registerDestructionCallback(String name,
                                        Runnable callback)
Specified by:
registerDestructionCallback in interface Scope


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.