类的使用
org.springframework.context.annotation.ScopedProxyMode
使用ScopedProxyMode的程序包 程序包 说明 org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.web.context.annotation Provides convenience annotations for web scopes.org.springframework.context.annotation中ScopedProxyMode的使用
返回ScopedProxyMode的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 ScopedProxyMode
ScopeMetadata. getScopedProxyMode()
Get the proxy-mode to be applied to the scoped instance.ScopedProxyMode
proxyMode()
Specifies whether a component should be configured as a scoped proxy and if so, whether the proxy should be interface-based or subclass-based.ScopedProxyMode
scopedProxy()
Indicates whether proxies should be generated for detected components, which may be necessary when using scopes in a proxy-style fashion.static ScopedProxyMode
ScopedProxyMode. valueOf(String name)
返回带有指定名称的该类型的枚举常量。static ScopedProxyMode[]
ScopedProxyMode. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为ScopedProxyMode的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 void
ClassPathBeanDefinitionScanner. setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Specify the proxy behavior for non-singleton scoped beans.void
ScopeMetadata. setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Set the proxy-mode to be applied to the scoped instance.参数类型为ScopedProxyMode的org.springframework.context.annotation中的构造器 构造器 说明 AnnotationScopeMetadataResolver(ScopedProxyMode defaultProxyMode)
Construct a newAnnotationScopeMetadataResolver
using the supplied defaultScopedProxyMode
.org.springframework.web.context.annotation中ScopedProxyMode的使用
返回ScopedProxyMode的org.springframework.web.context.annotation中的方法 修饰符和类型 方法 说明 ScopedProxyMode
proxyMode()
Alias forScope.proxyMode()
.ScopedProxyMode
proxyMode()
Alias forScope.proxyMode()
.ScopedProxyMode
proxyMode()
Alias forScope.proxyMode()
.