For a more complete discussion of exactly what a scoped proxy is, see the section of the Spring reference documentation entitled 'Scoped beans as dependencies'.
ScopeMetadata
| Modifier and Type | Field and Description |
|---|---|
| public static final ScopedProxyMode | |
| 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. |
| public static final ScopedProxyMode | TARGET_CLASS
Create a class-based proxy (uses CGLIB). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ScopedProxyMode | |
| public static ScopedProxyMode[] |
| DEFAULT | back to summary |
|---|---|
| public static final ScopedProxyMode DEFAULT Default typically equals | |
| INTERFACES | back to summary |
|---|---|
| public static final ScopedProxyMode INTERFACES Create a JDK dynamic proxy implementing all interfaces exposed by the class of the target object. | |
| NO | back to summary |
|---|---|
| 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
| |
| TARGET_CLASS | back to summary |
|---|---|
| public static final ScopedProxyMode TARGET_CLASS Create a class-based proxy (uses CGLIB). | |
| ScopedProxyMode | back to summary |
|---|---|
| private ScopedProxyMode() | |
| valueOf | back to summary |
|---|---|
| public static ScopedProxyMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ScopedProxyMode[] values() | |