Class Scopifier


  • public class Scopifier
    extends org.springframework.beans.factory.config.BeanDefinitionVisitor
    this class was copied wholesale from Spring 3.1's RefreshScope, which Dave Syer wrote.
    Author:
    Dave Syer
    • Constructor Summary

      Constructors 
      Constructor Description
      Scopifier​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String scope, boolean proxyTargetClass, boolean scoped)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.springframework.beans.factory.config.BeanDefinitionHolder createScopedProxy​(String beanName, org.springframework.beans.factory.config.BeanDefinition definition, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, boolean proxyTargetClass)  
      protected Object resolveValue​(Object value)  
      • Methods inherited from class org.springframework.beans.factory.config.BeanDefinitionVisitor

        resolveStringValue, visitArray, visitBeanClassName, visitBeanDefinition, visitFactoryBeanName, visitFactoryMethodName, visitGenericArgumentValues, visitIndexedArgumentValues, visitList, visitMap, visitParentName, visitPropertyValues, visitScope, visitSet
    • Constructor Detail

      • Scopifier

        public Scopifier​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                         String scope,
                         boolean proxyTargetClass,
                         boolean scoped)
    • Method Detail

      • createScopedProxy

        public static org.springframework.beans.factory.config.BeanDefinitionHolder createScopedProxy​(String beanName,
                                                                                                      org.springframework.beans.factory.config.BeanDefinition definition,
                                                                                                      org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                                                                                                      boolean proxyTargetClass)
      • resolveValue

        protected Object resolveValue​(Object value)
        Overrides:
        resolveValue in class org.springframework.beans.factory.config.BeanDefinitionVisitor