|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.context.annotation.ScopeMetadata
public class 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.
ScopeMetadataResolver
,
ScopedProxyMode
Field Summary | |
---|---|
private ScopedProxyMode |
scopedProxyMode
|
private java.lang.String |
scopeName
|
Constructor Summary | |
---|---|
ScopeMetadata()
|
Method Summary | |
---|---|
ScopedProxyMode |
getScopedProxyMode()
Get the proxy-mode to be applied to the scoped instance. |
java.lang.String |
getScopeName()
Get the name of the scope. |
void |
setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Set the proxy-mode to be applied to the scoped instance. |
void |
setScopeName(java.lang.String scopeName)
Set the name of the scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String scopeName
private ScopedProxyMode scopedProxyMode
Constructor Detail |
---|
public ScopeMetadata()
Method Detail |
---|
public void setScopeName(java.lang.String scopeName)
public java.lang.String getScopeName()
public void setScopedProxyMode(ScopedProxyMode scopedProxyMode)
public ScopedProxyMode getScopedProxyMode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |