Examples of ConfigurableBeanFactory


Examples of org.springframework.beans.factory.config.ConfigurableBeanFactory

      applicationContext = (ConfigurableWebApplicationContext) contextLoader
          .initWebApplicationContext(servletContext);
      logger.debug("Root context path: "
          + applicationContext.getServletContext().getContextPath());

      ConfigurableBeanFactory factory = applicationContext
          .getBeanFactory();

      // register default
      factory.registerSingleton("default.context", applicationContext);

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

    } catch (Throwable t) {
      logger.error("", t);
    }
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.