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, java.lang.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​(java.lang.String beanName, org.springframework.beans.factory.config.BeanDefinition definition, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, boolean proxyTargetClass)  
      protected java.lang.Object resolveValue​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Scopifier

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

      • createScopedProxy

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

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