public final enum

ScopedProxyMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.springframework.context.annotation.ScopedProxyMode

Class Overview

Enumerates the various scoped-proxy options.

For a fuller discussion of exactly what a scoped-proxy is, see that section of the Spring reference documentation entitled 'Scoped beans as dependencies'.

See Also

Summary

Enum Values
ScopedProxyMode  DEFAULT  Default typically equals NO, unless a different default has been configured at the component-scan instruction level. 
ScopedProxyMode  INTERFACES  Create a JDK dynamic proxy implementing all interfaces exposed by the class of the target object. 
ScopedProxyMode  NO  Do not create a scoped proxy. 
ScopedProxyMode  TARGET_CLASS  Create a class-based proxy (requires CGLIB). 
Public Methods
static ScopedProxyMode valueOf(String name)
final static ScopedProxyMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ScopedProxyMode DEFAULT

Default typically equals NO, unless a different default has been configured at the component-scan instruction level.

public static final ScopedProxyMode INTERFACES

Create a JDK dynamic proxy implementing all interfaces exposed by the class of the target object.

public static final ScopedProxyMode NO

Do not create a scoped proxy.

This proxy-mode is not typically useful when used with a non-singleton scoped instance, which should favor the use of the INTERFACES or TARGET_CLASS proxy-modes instead if it is to be used as a dependency.

public static final ScopedProxyMode TARGET_CLASS

Create a class-based proxy (requires CGLIB).

Public Methods

public static ScopedProxyMode valueOf (String name)

public static final ScopedProxyMode[] values ()