Package org.torquebox.core.datasource

Examples of org.torquebox.core.datasource.JDBCDriverLoadingRuntimeService


    }

    private void installJDBCDriverLoadingRuntime(DeploymentPhaseContext phaseContext) {
        DeploymentUnit unit = phaseContext.getDeploymentUnit();
        JDBCDriverLoadingRuntimeService service = new JDBCDriverLoadingRuntimeService();
        ServiceName name = DataSourceServices.jdbcDriverLoadingRuntimeName( unit );
        phaseContext.getServiceTarget().addService( name, service )
                .addDependency( CoreServices.runtimeFactoryName( unit ).append( "lightweight" ), RubyRuntimeFactory.class, service.getRuntimeFactoryInjector() )
                .setInitialMode( Mode.ON_DEMAND )
                .install();
    }
View Full Code Here

TOP

Related Classes of org.torquebox.core.datasource.JDBCDriverLoadingRuntimeService

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.