Package org.springframework.context.access

Examples of org.springframework.context.access.ContextBeanFactoryReference


      // get the main factory
      parentFactory = (DefaultListableBeanFactory) factory
          .getParentBeanFactory();

      // create a wrapper around our primary context
      BeanFactoryReference beanfactoryRef = new ContextBeanFactoryReference(
          applicationContext);

      // set it in the root servlet context
      servletContext.setAttribute("bean.factory.ref", beanfactoryRef);
View Full Code Here

TOP

Related Classes of org.springframework.context.access.ContextBeanFactoryReference

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.