|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.inject.spi.DefaultBindingScopingVisitor<V>
V - any type to be returned by the visit method. Use Void with
return null if no return type is needed.public class DefaultBindingScopingVisitor<V>
No-op visitor for subclassing. All interface methods simply delegate to
visitOther(), returning its result.
| Constructor Summary | |
|---|---|
DefaultBindingScopingVisitor()
|
|
| Method Summary | |
|---|---|
V |
visitEagerSingleton()
Visit an eager singleton or single instance. |
V |
visitNoScoping()
Visit an unspecified or unscoped strategy. |
protected V |
visitOther()
Default visit implementation. |
V |
visitScope(Scope scope)
Visit a scope instance. |
V |
visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation)
Visit a scope annotation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultBindingScopingVisitor()
| Method Detail |
|---|
protected V visitOther()
null.
public V visitEagerSingleton()
BindingScopingVisitor
visitEagerSingleton in interface BindingScopingVisitor<V>public V visitScope(Scope scope)
BindingScopingVisitor
visitScope in interface BindingScopingVisitor<V>public V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation)
BindingScopingVisitorBinder.bindScope().
visitScopeAnnotation in interface BindingScopingVisitor<V>public V visitNoScoping()
BindingScopingVisitor
visitNoScoping in interface BindingScopingVisitor<V>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||