Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created July 5, 2013 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iocanel/5933765 to your computer and use it in GitHub Desktop.
Save iocanel/5933765 to your computer and use it in GitHub Desktop.
Adding Management support in Jclouds
ContextBuilder builder = ContextBuilder.newBuilder(providerOrApi).
.credentials(identity, credential)
.modules(ImmutableSet.<Module>of(new ManagementLifecycle(BaseManagementContext.INSTANCE)))
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment