org.apache.cocoon.components
Class ComponentContext.ComponentManagerWrapper

java.lang.Object
  extended by org.apache.cocoon.components.ComponentContext.ComponentManagerWrapper
All Implemented Interfaces:
ServiceManager
Enclosing class:
ComponentContext

public static final class ComponentContext.ComponentManagerWrapper
extends Object
implements ServiceManager


Field Summary
protected  ComponentManager manager
           
 
Constructor Summary
ComponentContext.ComponentManagerWrapper(ComponentManager m)
           
 
Method Summary
 boolean hasService(String role)
           
 Object lookup(String role)
           
 void release(Object c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected final ComponentManager manager
Constructor Detail

ComponentContext.ComponentManagerWrapper

public ComponentContext.ComponentManagerWrapper(ComponentManager m)
Method Detail

hasService

public boolean hasService(String role)
Specified by:
hasService in interface ServiceManager

lookup

public Object lookup(String role)
              throws ServiceException
Specified by:
lookup in interface ServiceManager
Throws:
ServiceException

release

public void release(Object c)
Specified by:
release in interface ServiceManager


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