Class BeanListener

  • All Implemented Interfaces:
    com.google.inject.spi.TypeListener

    public final class BeanListener
    extends java.lang.Object
    implements com.google.inject.spi.TypeListener
    TypeListener that listens for bean types and arranges for their properties to be injected.
    • Method Summary

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

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

    • Constructor Detail

      • BeanListener

        public BeanListener​(BeanBinder beanBinder)
    • Method Detail

      • hear

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