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> extends java.lang.Object implements BindingScopingVisitor<V>
visitOther()
,
returning its result.Constructor and Description |
---|
DefaultBindingScopingVisitor() |
Modifier and Type | Method and Description |
---|---|
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(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation)
Visit a scope annotation.
|
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(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation)
BindingScopingVisitor
Binder.bindScope()
.visitScopeAnnotation
in interface BindingScopingVisitor<V>
public V visitNoScoping()
BindingScopingVisitor
visitNoScoping
in interface BindingScopingVisitor<V>