Package org.codehaus.groovy.grails.commons.spring

Examples of org.codehaus.groovy.grails.commons.spring.BeanConfiguration.addProperty()


        return copiedBeanDefinition;
    }

    private void replaceWithScopedProxy(BeanDefinitionRegistry appCtx, String beanName, String targetBeanName) {
        BeanConfiguration scopedProxy = new DefaultBeanConfiguration(ScopedProxyFactoryBean.class);
        scopedProxy.addProperty("targetBeanName", targetBeanName);

        BeanDefinition scopedBeanDefinition = scopedProxy.getBeanDefinition();
        appCtx.registerBeanDefinition(beanName, scopedBeanDefinition);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.