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()
|
private void |
prepare()
|
void |
setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logkitManager)
|
classLoader
protected final java.lang.ClassLoader classLoader
role
private java.lang.String role
component
private org.apache.avalon.framework.component.Component component
context
protected InsightContext context
componentManager
protected org.apache.avalon.framework.component.ComponentManager componentManager
configuration
protected org.apache.avalon.framework.configuration.Configuration configuration
configured
private boolean configured
logKitManager
private org.apache.avalon.excalibur.logger.LogKitManager logKitManager
logEnabledLogger
private org.apache.avalon.framework.logger.Logger logEnabledLogger
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
prepare
private void prepare()
throws org.apache.avalon.framework.context.ContextException,
org.apache.avalon.framework.configuration.ConfigurationException,
org.apache.avalon.framework.component.ComponentException
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.