Package org.torquebox.core.datasource.DataSourceInfoList

Examples of org.torquebox.core.datasource.DataSourceInfoList.Info


            binderBuilder.setInitialMode( Mode.ACTIVE );
            binderBuilder.install();

            String adapterName = (String) dbMeta.getConfiguration().get( "adapter" );
            Info dsInfo = new DataSourceInfoList.Info( dbMeta.getConfigurationName(), jndiName, adapterName, dataSourceServiceName, adapter );

            DataSourceXAVerifierService verifierService = new DataSourceXAVerifierService( dsInfo, phaseContext.getServiceRegistry(), jndiName );
            ServiceName verifierServiceName = dataSourceServiceName.append( "xa-verifier" );
            phaseContext.getServiceTarget().addService( verifierServiceName, verifierService )
                    .addDependency( DependencyType.OPTIONAL, dataSourceServiceName, DataSource.class, verifierService.getDataSourceInjector() )
View Full Code Here

TOP

Related Classes of org.torquebox.core.datasource.DataSourceInfoList.Info

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.