public class AnnotationScopeMetadataResolver extends Object implements org.springframework.context.annotation.ScopeMetadataResolver
| Constructor and Description |
|---|
AnnotationScopeMetadataResolver()
Create a new instance of the
AnnotationScopeMetadataResolver class. |
AnnotationScopeMetadataResolver(org.springframework.context.annotation.ScopedProxyMode defaultProxyMode)
Create a new instance of the
AnnotationScopeMetadataResolver class. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.annotation.ScopeMetadata |
resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition) |
void |
setScopeAnnotationType(Class<? extends Annotation> scopeAnnotationType)
Set the type of annotation that is checked for by this
AnnotationScopeMetadataResolver. |
public AnnotationScopeMetadataResolver()
AnnotationScopeMetadataResolver class.AnnotationScopeMetadataResolver(ScopedProxyMode),
ScopedProxyMode.NOpublic AnnotationScopeMetadataResolver(org.springframework.context.annotation.ScopedProxyMode defaultProxyMode)
AnnotationScopeMetadataResolver class.defaultProxyMode - the desired scoped-proxy modepublic void setScopeAnnotationType(Class<? extends Annotation> scopeAnnotationType)
AnnotationScopeMetadataResolver.scopeAnnotationType - the target annotation typepublic org.springframework.context.annotation.ScopeMetadata resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition)
resolveScopeMetadata in interface org.springframework.context.annotation.ScopeMetadataResolverCopyright © 2006–2018 TinyGroup. All rights reserved.