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
<T> T
convert(com.google.inject.TypeLiteral<T> role, java.lang.String value)
          Converts the given constant value to a bean of the given type.
 

Method Detail

convert

<T> T convert(com.google.inject.TypeLiteral<T> role,
              java.lang.String value)
Converts the given constant value to a bean of the given type.

Parameters:
role - The expected bean type
value - The constant value
Returns:
Bean of the given type, based on the given constant value


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.