fr.paris5.shaman.insight.component
Class InsightManager
fr.paris5.shaman.insight.component.InsightManager
- All Implemented Interfaces:
- InsightConfigurationConstants, SystemConfigurationConstants
- public class InsightManager
- implements SystemConfigurationConstants, InsightConfigurationConstants
Component Manager dedicated to Insight services. Allows different instantiation
approaches for having standalone / rmi server / rmi client objects defined from
the same configuration file. The reason to not use
ExcaliburComponentManager
is that it does not allow to configure
the factory instantiating Components.
- Version:
- $Id: InsightManager.java,v 1.2 2002/07/04 10:05:16 caillette Exp $
- Author:
- Laurent Caillette
Field Summary |
static java.lang.String |
ROLE
|
Method Summary |
void |
compose(org.apache.avalon.framework.component.ComponentManager parentCM)
|
void |
configure(org.apache.avalon.framework.configuration.Configuration bootstrapConfiguration)
Prepares ComponentHandler instances. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
|
void |
dispose()
|
boolean |
hasComponent(java.lang.String role)
|
void |
initialize()
Performs Avalon-defined initialization of components, in their
declaration order. |
org.apache.avalon.framework.component.Component |
lookup(java.lang.String role)
|
void |
release(org.apache.avalon.framework.component.Component component)
|
void |
setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logkitManager)
|
ROLE
public static final java.lang.String ROLE
InsightManager
public InsightManager()
InsightManager
public InsightManager(java.lang.ClassLoader classLoader)
InsightManager
public InsightManager(org.apache.avalon.framework.component.ComponentManager parentCM,
java.lang.ClassLoader loader)
InsightManager
public InsightManager(org.apache.avalon.framework.component.ComponentManager parentCM)
compose
public void compose(org.apache.avalon.framework.component.ComponentManager parentCM)
throws org.apache.avalon.framework.component.ComponentException
lookup
public org.apache.avalon.framework.component.Component lookup(java.lang.String role)
throws org.apache.avalon.framework.component.ComponentException
hasComponent
public boolean hasComponent(java.lang.String role)
release
public void release(org.apache.avalon.framework.component.Component component)
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
configure
public void configure(org.apache.avalon.framework.configuration.Configuration bootstrapConfiguration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Prepares
ComponentHandler
instances.
- Parameters:
bootstrapConfiguration
- A System Configuration. SystemDirectory
and Insight services will be extracted from it.- Throws:
ConfigurationException
-
initialize
public void initialize()
throws java.lang.Exception
- Performs Avalon-defined initialization of components, in their
declaration order.
- Throws:
java.lang.Exception
-
dispose
public void dispose()
setLogKitManager
public void setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logkitManager)
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.