fr.paris5.shaman.insight.component
Class StandaloneComponentHandler

fr.paris5.shaman.insight.component.ComponentHandler
  |
  +--fr.paris5.shaman.insight.component.StandaloneComponentHandler
All Implemented Interfaces:
InsightConfigurationConstants, SystemConfigurationConstants
Direct Known Subclasses:
RMIServerObjectHandler

public class StandaloneComponentHandler
extends ComponentHandler
implements SystemConfigurationConstants

A ComponentHandler just instantiating the Component, doing nothing else.

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

Field Summary
private  java.lang.Class implementationClass
           
 
Fields inherited from class fr.paris5.shaman.insight.component.ComponentHandler
classLoader, component, componentManager, configuration, configured, context, logEnabledLogger, logKitManager, role
 
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
StandaloneComponentHandler(java.lang.ClassLoader classLoader)
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
protected  org.apache.avalon.framework.component.Component doInstantiate()
           
protected  java.lang.Class getImplementationClass()
           
 
Methods inherited from class fr.paris5.shaman.insight.component.ComponentHandler
compose, contextualize, dispose, getComponent, getLogEnabledLogger, initialize, instantiateComponent, prepare, setLogKitManager
 

Field Detail

implementationClass

private java.lang.Class implementationClass
Constructor Detail

StandaloneComponentHandler

public StandaloneComponentHandler(java.lang.ClassLoader classLoader)
Method Detail

getImplementationClass

protected java.lang.Class getImplementationClass()

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Overrides:
configure in class ComponentHandler

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.