public final class BeanListener extends Object implements com.google.inject.spi.TypeListener
TypeListener
that listens for bean types and arranges for their properties to be injected.Constructor and Description |
---|
BeanListener(BeanBinder beanBinder) |
Modifier and Type | Method and Description |
---|---|
<B> void |
hear(com.google.inject.TypeLiteral<B> type,
com.google.inject.spi.TypeEncounter<B> encounter) |
static boolean |
isInjecting() |
public BeanListener(BeanBinder beanBinder)
public <B> void hear(com.google.inject.TypeLiteral<B> type, com.google.inject.spi.TypeEncounter<B> encounter)
hear
in interface com.google.inject.spi.TypeListener
public static boolean isInjecting()
true
if this thread is performing bean injection; otherwise false
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.