spring-framework / org.springframework.context.annotation / Scope / proxyMode

proxyMode

val proxyMode: ScopedProxyMode

Specifies whether a component should be configured as a scoped proxy and if so, whether the proxy should be interface-based or subclass-based.

Defaults to ScopedProxyMode#DEFAULT, which typically indicates that no scoped proxy should be created unless a different default has been configured at the component-scan instruction level.

Analogous to <aop:scoped-proxy/> support in Spring XML.

See Also
ScopedProxyMode