org.apache.cocoon.callstack
Class CallScope

java.lang.Object
  extended by org.apache.cocoon.callstack.CallScope
All Implemented Interfaces:
org.springframework.beans.factory.config.Scope

public class CallScope
extends Object
implements org.springframework.beans.factory.config.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.html 1422810 2012-12-17 09:13:50Z ilgrosso $

Constructor Summary
CallScope()
           
 
Method Summary
 Object get(String name, org.springframework.beans.factory.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,
                  org.springframework.beans.factory.ObjectFactory objectFactory)
Specified by:
get in interface org.springframework.beans.factory.config.Scope

remove

public Object remove(String name)
Specified by:
remove in interface org.springframework.beans.factory.config.Scope

getConversationId

public String getConversationId()
Specified by:
getConversationId in interface org.springframework.beans.factory.config.Scope

registerDestructionCallback

public void registerDestructionCallback(String name,
                                        Runnable callback)
Specified by:
registerDestructionCallback in interface org.springframework.beans.factory.config.Scope


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