Examples of RdbmsServiceCreator


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
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.