Package | Description |
---|---|
org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
Modifier and Type | Method and Description |
---|---|
ScopedProxyMode |
ScopeMetadata.getScopedProxyMode()
Get the proxy-mode to be applied to the scoped instance.
|
static ScopedProxyMode |
ScopedProxyMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopedProxyMode[] |
ScopedProxyMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ScopeMetadata.setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Set the proxy-mode to be applied to the scoped instance.
|
void |
ClassPathBeanDefinitionScanner.setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Specify the proxy behavior for non-singleton scoped beans.
|
Constructor and Description |
---|
AnnotationScopeMetadataResolver(ScopedProxyMode defaultProxyMode)
Construct a new
AnnotationScopeMetadataResolver using the
supplied default ScopedProxyMode . |