Package org.eclipse.sisu.plexus
Class PlexusXmlBeanConverter
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusXmlBeanConverter
-
- All Implemented Interfaces:
PlexusBeanConverter
public final class PlexusXmlBeanConverter extends Object implements PlexusBeanConverter
PlexusBeanConverter
Module
that converts Plexus XML configuration into beans.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(com.google.inject.TypeLiteral role, String value)
Converts the given constant value to a bean of the given type.
-
-
-
Method Detail
-
convert
public Object convert(com.google.inject.TypeLiteral role, String value)
Description copied from interface:PlexusBeanConverter
Converts the given constant value to a bean of the given type.- Specified by:
convert
in interfacePlexusBeanConverter
- Parameters:
role
- The expected bean typevalue
- The constant value- Returns:
- Bean of the given type, based on the given constant value
-
-