public class TerremarkVCloudContextBuilder<S extends TerremarkVCloudClient,A extends TerremarkVCloudAsyncClient> extends ComputeServiceContextBuilder<S,A>
VCloudComputeServiceContext
or Injector
instances
based on the most commonly requested arguments.
Note that Threadsafe objects will be bound as singletons to the Injector or
Context provided.
If no Module
s are specified, the default
logging
and
http transports
will be
installed.VCloudComputeServiceContext
asyncClientType, modules, properties, syncClientType
Constructor and Description |
---|
TerremarkVCloudContextBuilder(Class<S> syncClientType,
Class<A> asyncClientType,
Properties props) |
Modifier and Type | Method and Description |
---|---|
protected void |
addClientModule(List<com.google.inject.Module> modules) |
protected void |
addContextModule(List<com.google.inject.Module> modules) |
addImageResolutionModule, addImageResolutionModuleIfNotPresent, buildComputeServiceContext, buildInjector, withModules
addClientModuleIfNotPresent, addContextModuleIfNotPresent, addCredentialStoreIfNotPresent, addExecutorServiceIfNotPresent, addHttpModuleIfNeededAndNotPresent, addLoggingModuleIfNotPresent, buildContext, getProperties, ifHttpConfigureRestOtherwiseGuiceClientFactory
public TerremarkVCloudContextBuilder(Class<S> syncClientType, Class<A> asyncClientType, Properties props)
protected void addContextModule(List<com.google.inject.Module> modules)
addContextModule
in class RestContextBuilder<S extends TerremarkVCloudClient,A extends TerremarkVCloudAsyncClient>
protected void addClientModule(List<com.google.inject.Module> modules)
addClientModule
in class RestContextBuilder<S extends TerremarkVCloudClient,A extends TerremarkVCloudAsyncClient>
Copyright © 2009-2012 jclouds. All Rights Reserved.