Package org.cloudfoundry.runtime.service.relational

Examples of org.cloudfoundry.runtime.service.relational.RdbmsServiceCreator


    @Bean
    public DataSource dataSource() {
        RdbmsServiceInfo rdbmsServiceInfo = cloudEnvironment().getServiceInfosRdbmsServiceInfo.class).iterator().next();
        assert null != rdbmsServiceInfo : "there needs to be at least one MySQL RDBMS bound to this application";
        RdbmsServiceCreator rdbmsServiceCreator = new RdbmsServiceCreator();
        return rdbmsServiceCreator.createService(rdbmsServiceInfo);
    }
View Full Code Here

TOP

Related Classes of org.cloudfoundry.runtime.service.relational.RdbmsServiceCreator

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.