Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

#Spring Cloud GemFire Connector

Spring Cloud Connector for using GemFire service on Cloud Foundry

Java Applications

Applications can use this connector to access the information in VCAP_SERVICES environment variable, necessary to connect to a GemFire cluster.

For 1.0.x

CloudFactory cloudFactory = new CloudFactory();
Cloud cloud = cloudFactory.getCloud();
GemfireServiceInfo myService = (GemfireServiceInfo) cloud.getServiceInfo("MyService");
myService.getUsername();
myService.getLocators();

For 1.1.x

CloudFactory cloudFactory = new CloudFactory();
Cloud cloud = cloudFactory.getCloud();
GemfireServiceInfo myService = (GemfireServiceInfo) cloud.getServiceInfo("MyService");
myService.getDevUsername();
myService.getLocators();

Spring Applications

Spring Application can use this connector to auto inject a GemFire ClientCache which enables the application to talk to the GemFire cluster.

Examples

Simple example apps are at https://github.com/gemfire/cf-gemfire-connector-examples

About

Spring Connector for GemFire/Geode/Pivotal Cloud Cache on Cloud Foundry

Resources

License

Packages

No packages published

Languages