org.sonatype.guice.bean.converters
Class AbstractTypeConverter<T>

java.lang.Object
  extended by 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.


Constructor Summary
AbstractTypeConverter()
           
 
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
 

Constructor Detail

AbstractTypeConverter

public AbstractTypeConverter()
Method Detail

configure

public final void configure(com.google.inject.Binder binder)
Specified by:
configure in interface com.google.inject.Module


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