|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.inject.spi.DefaultElementVisitor<V>
V - any type to be returned by the visit method. Use Void with
return null if no return type is needed.public abstract class DefaultElementVisitor<V>
No-op visitor for subclassing. All interface methods simply delegate to
visitOther(Element), returning its result.
| Constructor Summary | |
|---|---|
DefaultElementVisitor()
|
|
| Method Summary | ||
|---|---|---|
|
visit(Binding<T> binding)
Visit a mapping from a key (type and optional annotation) to the strategy for getting instances of the type. |
|
V |
visit(InjectionRequest injectionRequest)
Visit a request to inject the instance fields and methods of an instance. |
|
V |
visit(InterceptorBinding interceptorBinding)
Visit a registration of interceptors for matching methods of matching classes. |
|
|
visit(MembersInjectorLookup<T> lookup)
Visit a lookup of the members injector. |
|
V |
visit(Message message)
Visit an error message and the context in which it occured. |
|
V |
visit(PrivateElements privateElements)
Visit a collection of configuration elements for a private binder. |
|
|
visit(ProviderLookup<T> providerLookup)
Visit a lookup of the provider for a type. |
|
V |
visit(ScopeBinding scopeBinding)
Visit a registration of a scope annotation with the scope that implements it. |
|
V |
visit(StaticInjectionRequest staticInjectionRequest)
Visit a request to inject the static fields and methods of type. |
|
V |
visit(TypeConverterBinding typeConverterBinding)
Visit a registration of type converters for matching target types. |
|
V |
visit(TypeListenerBinding binding)
Visit an injectable type listener binding. |
|
protected V |
visitOther(Element element)
Default visit implementation. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultElementVisitor()
| Method Detail |
|---|
protected V visitOther(Element element)
null.
public V visit(Message message)
ElementVisitor
visit in interface ElementVisitor<V>public <T> V visit(Binding<T> binding)
ElementVisitor
visit in interface ElementVisitor<V>public V visit(InterceptorBinding interceptorBinding)
ElementVisitor
visit in interface ElementVisitor<V>public V visit(ScopeBinding scopeBinding)
ElementVisitor
visit in interface ElementVisitor<V>public V visit(TypeConverterBinding typeConverterBinding)
ElementVisitor
visit in interface ElementVisitor<V>public <T> V visit(ProviderLookup<T> providerLookup)
ElementVisitor
visit in interface ElementVisitor<V>public V visit(InjectionRequest injectionRequest)
ElementVisitor
visit in interface ElementVisitor<V>public V visit(StaticInjectionRequest staticInjectionRequest)
ElementVisitor
visit in interface ElementVisitor<V>public V visit(PrivateElements privateElements)
ElementVisitor
visit in interface ElementVisitor<V>public <T> V visit(MembersInjectorLookup<T> lookup)
ElementVisitor
visit in interface ElementVisitor<V>public V visit(TypeListenerBinding binding)
ElementVisitor
visit in interface ElementVisitor<V>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||