Examples of AcrossConfigurableApplicationContext


Examples of com.foreach.across.core.context.AcrossConfigurableApplicationContext

   * @param across  AcrossContext being loaded.
   * @param context Contains the root Spring ApplicationContext.
   */
  @Override
  public void loadApplicationContext( AcrossContext across, AcrossApplicationContextHolder context ) {
    AcrossConfigurableApplicationContext root =
        (AcrossConfigurableApplicationContext) context.getApplicationContext();
    Collection<ApplicationContextConfigurer> configurers = AcrossContextUtils.getConfigurersToApply( across );

    loadApplicationContext( root, configurers );
  }
View Full Code Here

Examples of com.foreach.across.core.context.AcrossConfigurableApplicationContext

   */
  @Override
  public void loadApplicationContext( AcrossContext across,
                                      ModuleBootstrapConfig moduleBootstrapConfig,
                                      AcrossApplicationContextHolder context ) {
    AcrossConfigurableApplicationContext child =
        (AcrossConfigurableApplicationContext) context.getApplicationContext();

    loadApplicationContext( child, moduleBootstrapConfig.getApplicationContextConfigurers() );
  }
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.