org.sonatype.guice.plexus.config
Interface PlexusBeanConverter
- All Known Implementing Classes:
- PlexusXmlBeanConverter
public interface PlexusBeanConverter
Service that converts values into various beans by following Plexus configuration rules.
Method Summary |
|
convert(com.google.inject.TypeLiteral<T> role,
String value)
Converts the given constant value to a bean of the given type. |
convert
<T> T convert(com.google.inject.TypeLiteral<T> role,
String value)
- Converts the given constant value to a bean of the given type.
- Parameters:
role
- The expected bean typevalue
- The constant value
- Returns:
- Bean of the given type, based on the given constant value
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.