org.apache.avalon.excalibur.component
Class ComponentHandler

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.avalon.excalibur.component.ComponentHandler
All Implemented Interfaces:
org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.Loggable
Direct Known Subclasses:
PoolableComponentHandler, ThreadSafeComponentHandler

public abstract class ComponentHandler
extends org.apache.avalon.framework.logger.AbstractLoggable
implements org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Disposable

This class acts like a Factory to instantiate the correct version of the ComponentHandler that you need.

Since:
4.0
Version:
CVS $Revision: 1.4 $ $Date: 2001/12/11 09:53:27 $
Author:
Berin Loritsch

Constructor Summary
ComponentHandler()
           
 
Method Summary
abstract  org.apache.avalon.framework.component.Component get()
           
static ComponentHandler getComponentHandler(java.lang.Class componentClass, org.apache.avalon.framework.configuration.Configuration config, org.apache.avalon.framework.component.ComponentManager manager, org.apache.avalon.framework.context.Context context, RoleManager roles, LogKitManager logkit)
           
static ComponentHandler getComponentHandler(org.apache.avalon.framework.component.Component componentInstance)
           
abstract  void put(org.apache.avalon.framework.component.Component component)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.avalon.framework.activity.Initializable
initialize
 
Methods inherited from interface org.apache.avalon.framework.activity.Disposable
dispose
 

Constructor Detail

ComponentHandler

public ComponentHandler()
Method Detail

getComponentHandler

public static ComponentHandler getComponentHandler(java.lang.Class componentClass,
                                                   org.apache.avalon.framework.configuration.Configuration config,
                                                   org.apache.avalon.framework.component.ComponentManager manager,
                                                   org.apache.avalon.framework.context.Context context,
                                                   RoleManager roles,
                                                   LogKitManager logkit)
                                            throws java.lang.Exception

getComponentHandler

public static ComponentHandler getComponentHandler(org.apache.avalon.framework.component.Component componentInstance)
                                            throws java.lang.Exception

get

public abstract org.apache.avalon.framework.component.Component get()
                                                             throws java.lang.Exception

put

public abstract void put(org.apache.avalon.framework.component.Component component)
                  throws java.lang.Exception


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.