Void with return null
if no return type is needed.
visitOther(),
returning its result.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public V | visitEagerSingleton()
Implements com. |
| public V | visitNoScoping()
Implements com. |
| protected V | |
| public V | visitScope(Scope scope)
Implements com. |
| public V | visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation)
Implements com. |
| DefaultBindingScopingVisitor | back to summary |
|---|---|
| public DefaultBindingScopingVisitor() | |
| visitEagerSingleton | back to summary |
|---|---|
| public V visitEagerSingleton() Implements com. Doc from com. Visit an eager singleton or single instance. This scope strategy is found on both module and injector bindings.
| |
| visitNoScoping | back to summary |
|---|---|
| public V visitNoScoping() Implements com. Doc from com. Visit an unspecified or unscoped strategy. On a module, this strategy indicates that the injector should use scoping annotations to find a scope. On an injector, it indicates that no scope is applied to the binding. An unscoped binding will behave like a scoped one when it is linked to a scoped binding.
| |
| visitOther | back to summary |
|---|---|
| protected V visitOther() Default visit implementation. Returns | |
| visitScope | back to summary |
|---|---|
| public V visitScope(Scope scope) Implements com. Doc from com. Visit a scope instance. This scope strategy is found on both module and injector bindings.
| |
| visitScopeAnnotation | back to summary |
|---|---|
| public V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) Implements com. Doc from com. Visit a scope annotation. This scope strategy is found only on module bindings. The instance
that implements this scope is registered by
| |