Example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 DefaultCloudFoundryClientFactoryV2 INSTANCE

List of usage examples for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 DefaultCloudFoundryClientFactoryV2 INSTANCE

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 DefaultCloudFoundryClientFactoryV2 INSTANCE.

Prototype

DefaultCloudFoundryClientFactoryV2 INSTANCE

To view the source code for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 DefaultCloudFoundryClientFactoryV2 INSTANCE.

Click Source Link

Usage

From source file:org.springframework.ide.eclipse.boot.dash.test.CloudFoundryClientTest.java

public static DefaultClientRequestsV2 createClient(CFClientParams params) {
    try {/*from   www  . j a  v a  2  s . c  om*/
        DefaultCloudFoundryClientFactoryV2 factory = DefaultCloudFoundryClientFactoryV2.INSTANCE;
        return (DefaultClientRequestsV2) factory.getClient(params);
    } catch (Exception e) {
        throw new Error(e);
    }
}