Package com.foreach.across.core.context.configurer

Examples of com.foreach.across.core.context.configurer.TransactionManagementConfigurer


    public AcrossContext acrossContext( ConfigurableApplicationContext applicationContext ) throws Exception {
      AcrossContext acrossContext = new AcrossContext( applicationContext );
      acrossContext.setDataSource( dataSource() );
      acrossContext.addModule( hibernate1Module() );
      acrossContext.addModule( hibernate2Module() );
      acrossContext.addApplicationContextConfigurer( new TransactionManagementConfigurer(),
                                                     ConfigurerScope.CONTEXT_AND_MODULES );

      return acrossContext;
    }
View Full Code Here

TOP

Related Classes of com.foreach.across.core.context.configurer.TransactionManagementConfigurer

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.