Class ClassRealmConverter
- java.lang.Object
-
- org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
-
- org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter
-
- All Implemented Interfaces:
ConfigurationConverter
public final class ClassRealmConverter extends AbstractConfigurationConverter
-
-
Constructor Summary
Constructors Constructor Description ClassRealmConverter()
ClassRealmConverter(org.codehaus.classworlds.ClassRealm realm)
ClassRealmConverter(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(Class<?> type)
Object
fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)
org.codehaus.plexus.classworlds.realm.ClassRealm
peekContextRealm()
static void
popContextRealm()
static void
pushContextRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
failIfNotTypeCompatible, fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObject
-
-
-
-
Method Detail
-
pushContextRealm
public static void pushContextRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
popContextRealm
public static void popContextRealm()
-
peekContextRealm
public org.codehaus.plexus.classworlds.realm.ClassRealm peekContextRealm()
-
canConvert
public boolean canConvert(Class<?> type)
-
fromConfiguration
public Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Throws:
ComponentConfigurationException
-
-