fr.paris5.shaman.insight.component
Class ComponentHandler
fr.paris5.shaman.insight.component.ComponentHandler
- All Implemented Interfaces:
- InsightConfigurationConstants, SystemConfigurationConstants
- Direct Known Subclasses:
- PreInstantiatedComponentHandler, RMIClientObjectHandler, StandaloneComponentHandler
- public abstract class ComponentHandler
- implements SystemConfigurationConstants, InsightConfigurationConstants
Instantiates, then keeps a reference to a Component instance
inside a ServiceManager
. This class should never be seen out
of ServiceManager
and derivatives of this class.
- Version:
- $Id: ComponentHandler.java,v 1.1 2002/06/18 12:23:12 caillette Exp $
- Author:
- Laurent Caillette
Method Summary |
void |
compose(org.apache.avalon.framework.component.ComponentManager componentManager)
|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
void |
contextualize(org.apache.avalon.framework.context.Context context)
|
void |
dispose()
|
protected abstract org.apache.avalon.framework.component.Component |
doInstantiate()
|
org.apache.avalon.framework.component.Component |
getComponent()
|
protected org.apache.avalon.framework.logger.Logger |
getLogEnabledLogger()
|
void |
initialize()
|
protected org.apache.avalon.framework.component.Component |
instantiateComponent()
|
void |
setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logkitManager)
|
classLoader
protected final java.lang.ClassLoader classLoader
context
protected InsightContext context
componentManager
protected org.apache.avalon.framework.component.ComponentManager componentManager
configuration
protected org.apache.avalon.framework.configuration.Configuration configuration
ComponentHandler
public ComponentHandler(java.lang.ClassLoader classLoader)
getComponent
public final org.apache.avalon.framework.component.Component getComponent()
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
compose
public void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
throws org.apache.avalon.framework.component.ComponentException
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
instantiateComponent
protected final org.apache.avalon.framework.component.Component instantiateComponent()
throws java.lang.Exception
doInstantiate
protected abstract org.apache.avalon.framework.component.Component doInstantiate()
throws java.lang.Exception
initialize
public final void initialize()
throws java.lang.Exception
dispose
public final void dispose()
setLogKitManager
public void setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logkitManager)
getLogEnabledLogger
protected org.apache.avalon.framework.logger.Logger getLogEnabledLogger()
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.