Package org.impalaframework.spring.service.bean

Examples of org.impalaframework.spring.service.bean.ProxiedNamedFactoryBean


    }

    private void doProxiedFactoryBeanTest(ClassPathXmlApplicationContext context) {
        final Object bean = context.getBean("&proxiedPrototypeHolder");
        assertTrue(bean instanceof ProxiedNamedFactoryBean);
        ProxiedNamedFactoryBean factoryBean = (ProxiedNamedFactoryBean) bean;
        assertFalse(factoryBean.isSingleton());
       
        final IntegerHolder proxiedHolder = (IntegerHolder) context.getBean("proxiedPrototypeHolder");
        final int number1 = proxiedHolder.getNumber();
        System.out.println(number1);
        final int number2 = proxiedHolder.getNumber();
View Full Code Here

TOP

Related Classes of org.impalaframework.spring.service.bean.ProxiedNamedFactoryBean

Copyright © 2018 www.massapicom. 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.