@FunctionalInterface public interface ScopeMetadataResolver
Scope| Modifier and Type | Method and Description | 
|---|---|
| ScopeMetadata | resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition)Resolve the  ScopeMetadataappropriate to the supplied
 beandefinition. | 
ScopeMetadata resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition)
ScopeMetadata appropriate to the supplied
 bean definition.
 Implementations can of course use any strategy they like to
 determine the scope metadata, but some implementations that spring
 immediately to mind might be to use source level annotations
 present on the class of the
 supplied definition, or to use metadata present in the
 AttributeAccessor.attributeNames() of the supplied definition.
definition - the target bean definitionnull