Class AnnotatedMethodTypeListener<T extends java.lang.annotation.Annotation>

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

    public class AnnotatedMethodTypeListener<T extends java.lang.annotation.Annotation>
    extends java.lang.Object
    implements com.google.inject.spi.TypeListener
    Generic type listener to process annotated methods after bean instantiation.
    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

      • AnnotatedMethodTypeListener

        public AnnotatedMethodTypeListener​(java.lang.Class<T> annotationClass,
                                           MethodPostProcessor<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