| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverterorg.codehaus.plexus.component.configurator.converters.special.ClassRealmConverterpublic class ClassRealmConverterextends AbstractConfigurationConverterField Summary | |
static String | |
Constructor Summary | |
| |
Method Summary | |
boolean |
|
Object |
|
void |
|
Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter | |
fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObject, instantiateObject, loadClass, toXML | |
public ClassRealmConverter(ClassRealm classRealm)
Constructs this ClassRealmConverter with the given ClassRealm. If there's a way to automatically configure this component using the current classrealm, this method can go away.
- Parameters:
classRealm-
public boolean canConvert(Class type)
- Specified by:
- canConvert in interface ConfigurationConverter
public Object fromConfiguration(ConverterLookup converterLookup, PlexusConfiguration configuration, Class type, Class baseType, ClassLoader classLoader, ExpressionEvaluator expressionEvaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Specified by:
- fromConfiguration in interface ConfigurationConverter
- Parameters:
converterLookup- Repository of available convertersconfiguration-type- the type of object to readbaseType- the type of object the the source isclassLoader- ClassLoader which should be used for loading classesexpressionEvaluator- the expression evaluator to use for expressions
- Returns:
- the object
- Throws:
ComponentConfigurationException-
public void setClassRealm(ClassRealm classRealm)