Class AbstractComponentConfigurator
- java.lang.Object
-
- org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
-
- All Implemented Interfaces:
ComponentConfigurator
- Direct Known Subclasses:
BasicComponentConfigurator
,MapOrientedComponentConfigurator
public abstract class AbstractComponentConfigurator extends Object implements ComponentConfigurator
- Author:
- Brett Porter
-
-
Field Summary
Fields Modifier and Type Field Description protected ConverterLookup
converterLookup
This is being instantiated here because there are old component factories (beanshell) that directly access the converterLookup but do not yet state the ConverterLookup as a requirement in the component metadata.-
Fields inherited from interface org.codehaus.plexus.component.configurator.ComponentConfigurator
ROLE
-
-
Constructor Summary
Constructors Constructor Description AbstractComponentConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureComponent(Object component, PlexusConfiguration configuration, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm)
void
configureComponent(Object component, PlexusConfiguration configuration, ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm)
void
configureComponent(Object component, PlexusConfiguration configuration, ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm, ConfigurationListener listener)
-
-
-
Field Detail
-
converterLookup
protected ConverterLookup converterLookup
This is being instantiated here because there are old component factories (beanshell) that directly access the converterLookup but do not yet state the ConverterLookup as a requirement in the component metadata. Once these are wired up as standard components properly then we won't have to instantiate the converter lookup here and we can let the container do it.
-
-
Method Detail
-
configureComponent
public void configureComponent(Object component, PlexusConfiguration configuration, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm) throws ComponentConfigurationException
- Specified by:
configureComponent
in interfaceComponentConfigurator
- Throws:
ComponentConfigurationException
-
configureComponent
public void configureComponent(Object component, PlexusConfiguration configuration, ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm) throws ComponentConfigurationException
- Specified by:
configureComponent
in interfaceComponentConfigurator
- Throws:
ComponentConfigurationException
-
configureComponent
public void configureComponent(Object component, PlexusConfiguration configuration, ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm, ConfigurationListener listener) throws ComponentConfigurationException
- Specified by:
configureComponent
in interfaceComponentConfigurator
- Throws:
ComponentConfigurationException
-
-