Top Description Fields Constructors Methods
org.springframework.context.annotation

public Class ScopeMetadata

extends Object
Class Inheritance
Imports
org.springframework.beans.factory.config.BeanDefinition, org.springframework.util.Assert

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.

Authors
Mark Fisher, Juergen Hoeller
Since
2.5
See Also
ScopeMetadataResolver, ScopedProxyMode

Field Summary

Modifier and TypeField and Description
private ScopedProxyMode
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ScopedProxyMode
getScopedProxyMode()

Get the proxy-mode to be applied to the scoped instance.

public String
getScopeName()

Get the name of the scope.

public void
setScopedProxyMode(ScopedProxyMode scopedProxyMode)

Set the proxy-mode to be applied to the scoped instance.

public void
setScopeName(String scopeName)

Set the name of the scope.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

scopedProxyModeback to summary
private ScopedProxyMode scopedProxyMode
scopeNameback to summary
private String scopeName

Constructor Detail

ScopeMetadataback to summary
public ScopeMetadata()

Method Detail

getScopedProxyModeback to summary
public ScopedProxyMode getScopedProxyMode()

Get the proxy-mode to be applied to the scoped instance.

getScopeNameback to summary
public String getScopeName()

Get the name of the scope.

setScopedProxyModeback to summary
public void setScopedProxyMode(ScopedProxyMode scopedProxyMode)

Set the proxy-mode to be applied to the scoped instance.

setScopeNameback to summary
public void setScopeName(String scopeName)

Set the name of the scope.