Class GeneralTypeListener<T>

  • Type Parameters:
    T - bean type
    All Implemented Interfaces:
    com.google.inject.spi.TypeListener

    public class GeneralTypeListener<T>
    extends java.lang.Object
    implements com.google.inject.spi.TypeListener
    Generic type listener for bean types (exact class, by base class or beans annotating interface).
    Since:
    30.06.2014
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <I> void hear​(com.google.inject.TypeLiteral<I> type, com.google.inject.spi.TypeEncounter<I> encounter)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeneralTypeListener

        public GeneralTypeListener​(java.lang.Class<T> typeClass,
                                   TypePostProcessor<T> postProcessor)
    • Method Detail

      • hear

        public <I> void hear​(com.google.inject.TypeLiteral<I> type,
                             com.google.inject.spi.TypeEncounter<I> encounter)
        Specified by:
        hear in interface com.google.inject.spi.TypeListener