org.sonatype.guice.bean.converters
Class AbstractTypeConverter<T>
java.lang.Object
org.sonatype.guice.bean.converters.AbstractTypeConverter<T>
- All Implemented Interfaces:
- com.google.inject.Module, com.google.inject.spi.TypeConverter
- Direct Known Subclasses:
- FileTypeConverter, URLTypeConverter
public abstract class AbstractTypeConverter<T>
- extends Object
- implements com.google.inject.spi.TypeConverter, com.google.inject.Module
Abstract TypeConverter
Module
that automatically registers the converter based on the type parameter.
Method Summary |
void |
configure(com.google.inject.Binder binder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.inject.spi.TypeConverter |
convert |
AbstractTypeConverter
public AbstractTypeConverter()
configure
public final void configure(com.google.inject.Binder binder)
- Specified by:
configure
in interface com.google.inject.Module
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.