public class

ScopeMetadata

extends Object
java.lang.Object
   ↳ org.springframework.context.annotation.ScopeMetadata

Class Overview

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.

Summary

Public Constructors
ScopeMetadata()
Public Methods
String getScopeName()
Get the name of the scope.
ScopedProxyMode getScopedProxyMode()
Get the proxy-mode to be applied to the scoped instance.
void setScopeName(String scopeName)
Set the name of the scope.
void setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Set the proxy-mode to be applied to the scoped instance.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ScopeMetadata ()

Public Methods

public String getScopeName ()

Get the name of the scope.

public ScopedProxyMode getScopedProxyMode ()

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

public void setScopeName (String scopeName)

Set the name of the scope.

public void setScopedProxyMode (ScopedProxyMode scopedProxyMode)

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