org.apache.avalon.excalibur.system
Class AbstractContainer.ContainerComponentManager
java.lang.Object
|
+--org.apache.avalon.excalibur.system.AbstractContainer.ContainerComponentManager
- All Implemented Interfaces:
- org.apache.avalon.framework.component.ComponentManager
- Enclosing class:
- AbstractContainer
- protected static final class AbstractContainer.ContainerComponentManager
- extends java.lang.Object
- implements org.apache.avalon.framework.component.ComponentManager
This is the Default ComponentManager for the Container. It provides
a very simple abstraction, and makes it easy for the Container to manage
the references.
Method Summary |
boolean |
hasComponent(java.lang.String role)
|
org.apache.avalon.framework.component.Component |
lookup(java.lang.String role)
|
void |
release(org.apache.avalon.framework.component.Component component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContainer.ContainerComponentManager
protected AbstractContainer.ContainerComponentManager(java.util.Map componentMap)
- This constructor is for a ContainerComponentManager with no parent
ComponentManager
AbstractContainer.ContainerComponentManager
protected AbstractContainer.ContainerComponentManager(java.util.Map componentMap,
org.apache.avalon.framework.component.ComponentManager parent)
- This constructor is for a ContainerComponentManager with a parent
ComponentManager
lookup
public org.apache.avalon.framework.component.Component lookup(java.lang.String role)
throws org.apache.avalon.framework.component.ComponentException
- Specified by:
lookup
in interface org.apache.avalon.framework.component.ComponentManager
hasComponent
public boolean hasComponent(java.lang.String role)
- Specified by:
hasComponent
in interface org.apache.avalon.framework.component.ComponentManager
release
public void release(org.apache.avalon.framework.component.Component component)
- Specified by:
release
in interface org.apache.avalon.framework.component.ComponentManager
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.