public final class

BeanListener

extends Object
implements TypeListener
java.lang.Object
   ↳ org.sonatype.guice.bean.inject.BeanListener

Class Overview

TypeListener that listens for bean types and arranges for their properties to be injected.

Summary

Public Constructors
BeanListener(BeanBinder beanBinder)
Public Methods
<B> void hear(TypeLiteral<B> type, TypeEncounter<B> encounter)
static boolean isInjecting()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.inject.spi.TypeListener

Public Constructors

public BeanListener (BeanBinder beanBinder)

Public Methods

public void hear (TypeLiteral<B> type, TypeEncounter<B> encounter)

public static boolean isInjecting ()

Returns
  • true if this thread is performing bean injection; otherwise false