org.apache.cocoon.components
Class ComponentLocatorImpl
java.lang.Object
org.apache.cocoon.components.ComponentLocatorImpl
- All Implemented Interfaces:
- ComponentLocator
public class ComponentLocatorImpl
- extends Object
- implements ComponentLocator
This object is set to a ParentAware
component and allows
access to the parent component.
- Version:
- CVS $Id: ComponentLocatorImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ComponentManager manager
role
protected String role
ComponentLocatorImpl
public ComponentLocatorImpl(ComponentManager manager,
String role)
lookup
public Object lookup()
throws ComponentException
- Specified by:
lookup
in interface ComponentLocator
- Throws:
ComponentException
release
public void release(Object parent)
- Specified by:
release
in interface ComponentLocator
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.