public interface TypeListener
Useful for extra type checking, registering injection listeners, and binding method interceptors.
| Modifier and Type | Method and Description |
|---|---|
<I> void |
hear(TypeLiteral<I> type,
TypeEncounter<I> encounter)
Invoked when Guice encounters a new type eligible for constructor or members injection.
|
<I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter)
I - the injectable typetype - encountered by Guiceencounter - context of this encounter, enables reporting errors, registering injection
listeners and binding method interceptors for type.Copyright © 2006-2014 Google, Inc.. All Rights Reserved.