Package org.cloudfoundry.runtime.env

Examples of org.cloudfoundry.runtime.env.MongoServiceInfo


        return new CloudEnvironment();
    }

    @Bean
    public MongoServiceInfo mongoServiceInfo() {
        MongoServiceInfo mongoServiceInfo = cloudEnvironment().getServiceInfos(    MongoServiceInfo.class).iterator().next();
        assert null != mongoServiceInfo : "there needs to be at least one MongoDB instance bound to this application" ;
        return mongoServiceInfo;
    }
View Full Code Here

TOP

Related Classes of org.cloudfoundry.runtime.env.MongoServiceInfo

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.