org.apache.avalon.excalibur.system.handler
Interface ComponentHandler
- All Superinterfaces:
- org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable
- All Known Implementing Classes:
- PoolableComponentHandler, ThreadSafeComponentHandler, PerThreadComponentHandler
- public interface ComponentHandler
- extends org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Disposable
The ComponentHandler interface marks the ComponentHandler implementations.
The desire for a ComponentHandler is to manage the instances of a Component.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.4 $ $Date: 2002/01/30 15:44:06 $
- Author:
- Berin Loritsch
Method Summary |
org.apache.avalon.framework.component.Component |
get()
Gets the current reference to a Component according to the policy of the
implementation. |
boolean |
isInitialized()
Sometimes Components call other components during their initialization
process. |
void |
put(org.apache.avalon.framework.component.Component component)
Puts the reference back in the ComponentHandler according to the policy
of the implementation. |
Methods inherited from interface org.apache.avalon.framework.activity.Initializable |
initialize |
Methods inherited from interface org.apache.avalon.framework.activity.Disposable |
dispose |
HANDLER_CONSTRUCTOR
public static final java.lang.Class[] HANDLER_CONSTRUCTOR
isInitialized
public boolean isInitialized()
- Sometimes Components call other components during their initialization
process. This is a quick test that the ComponentManager will perform
before attempting to use the the ComponentHandler.
get
public org.apache.avalon.framework.component.Component get()
throws java.lang.Exception
- Gets the current reference to a Component according to the policy of the
implementation.
put
public void put(org.apache.avalon.framework.component.Component component)
- Puts the reference back in the ComponentHandler according to the policy
of the implementation.
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.