public interface ScopeInfo
@Scope or @NormalScope.
Lifecycle of beans with given scope is determined by a context.| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
annotation()
Returns the declaration of this scope annotation.
|
boolean |
isNormal()
Returns whether this scope type is normal.
|
default java.lang.String |
name()
Binary name of this scope annotation, as defined by The Java™ Language Specification;
in other words, the scope annotation name as returned by
Class.getName(). |
ClassInfo annotation()
nulldefault java.lang.String name()
Class.getName().
Equivalent to annotation().name().nullboolean isNormal()
@NormalScope.