org.apache.cocoon.components.pipeline.spring
Class PipelineComponentScope

java.lang.Object
  extended byorg.apache.cocoon.components.pipeline.spring.PipelineComponentScope
All Implemented Interfaces:
Scope

public final class PipelineComponentScope
extends Object
implements Scope

Pipeline component scope that scopes objects per one pipeline component.

Since:
2.2
Version:
$Id: PipelineComponentScope.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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

Constructor Detail

PipelineComponentScope

public PipelineComponentScope()
Method Detail

getHolder

public PipelineComponentScopeHolder getHolder()

setHolder

public void setHolder(PipelineComponentScopeHolder holder)

get

public Object get(String name,
                  ObjectFactory objectFactory)
Specified by:
get 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

remove

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


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