fr.paris5.shaman.insight.component
Class PreInstantiatedComponentHandler

fr.paris5.shaman.insight.component.ComponentHandler
  |
  +--fr.paris5.shaman.insight.component.PreInstantiatedComponentHandler
All Implemented Interfaces:
InsightConfigurationConstants, SystemConfigurationConstants

public class PreInstantiatedComponentHandler
extends ComponentHandler

A special ComponentHandler which does not act as a factory, but restitutes a pre-built instance of a component.

Version:
$Id: PreInstantiatedComponentHandler.java,v 1.1 2002/06/18 12:23:12 caillette Exp $
Author:
Laurent Caillette

Fields inherited from class fr.paris5.shaman.insight.component.ComponentHandler
classLoader, componentManager, configuration, context
 
Fields inherited from interface fr.paris5.shaman.system.SystemConfigurationConstants
BASEDIRURL_ATTRIBUTE, DEFAULTHOSTNAME, EMPTYSYSTEM_RESOURCE, HOSTNAME_ATTRIBUTE, PORT_ATTRIBUTE, RUNSTYLE_ATTRIBUTE, SYSTEMCONFIGURATION_DEFAULT_RESOURCE
 
Fields inherited from interface fr.paris5.shaman.insight.component.InsightConfigurationConstants
CLASS_ATTRIBUTE, COMMANDLOGS_ELEMENT, DEFAULT_PREVALENCEBASE_DIR, DIR_ELEMENT, EXPOSEDAS_ATTRIBUTE, LOGKITCONFIGURATION_DEFAULT_RESOURCE, PERSISTING_ATTRIBUTE, ROLE_ATTRIBUTE, SNAPSHOTDIR_ELEMENT, SYSTEMCONFIGURATIONURL_ATTRIBUTE
 
Constructor Summary
PreInstantiatedComponentHandler(java.lang.ClassLoader cl, org.apache.avalon.framework.component.Component instance)
           
 
Method Summary
protected  org.apache.avalon.framework.component.Component doInstantiate()
           
 
Methods inherited from class fr.paris5.shaman.insight.component.ComponentHandler
compose, configure, contextualize, dispose, getComponent, getLogEnabledLogger, initialize, instantiateComponent, setLogKitManager
 

Constructor Detail

PreInstantiatedComponentHandler

public PreInstantiatedComponentHandler(java.lang.ClassLoader cl,
                                       org.apache.avalon.framework.component.Component instance)
Method Detail

doInstantiate

protected org.apache.avalon.framework.component.Component doInstantiate()
                                                                 throws java.lang.Exception
Overrides:
doInstantiate in class ComponentHandler


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.