Class ScopeMetadata
java.lang.Object
org.springframework.context.annotation.ScopeMetadata
Describes scope characteristics for a Spring-managed bean including the scope
name and the scoped-proxy behavior.
The default scope is "singleton", and the default is to not create scoped-proxies.
- Since:
- 2.5
- Author:
- Mark Fisher, Juergen Hoeller
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the proxy-mode to be applied to the scoped instance.Get the name of the scope.void
setScopedProxyMode
(ScopedProxyMode scopedProxyMode) Set the proxy-mode to be applied to the scoped instance.void
setScopeName
(String scopeName) Set the name of the scope.
-
Constructor Details
-
ScopeMetadata
public ScopeMetadata()
-
-
Method Details
-
setScopeName
Set the name of the scope. -
getScopeName
Get the name of the scope. -
setScopedProxyMode
Set the proxy-mode to be applied to the scoped instance. -
getScopedProxyMode
Get the proxy-mode to be applied to the scoped instance.
-