public class SlicehostContextBuilder extends ComputeServiceContextBuilder<SlicehostClient,SlicehostAsyncClient>
SlicehostComputeServiceContext 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 Modules are specified, the default logging and
http transports will be installed.SlicehostComputeServiceContextasyncClientType, modules, properties, syncClientType| Constructor and Description |
|---|
SlicehostContextBuilder(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, withModulesaddClientModuleIfNotPresent, addContextModuleIfNotPresent, addCredentialStoreIfNotPresent, addExecutorServiceIfNotPresent, addHttpModuleIfNeededAndNotPresent, addLoggingModuleIfNotPresent, buildContext, getProperties, ifHttpConfigureRestOtherwiseGuiceClientFactorypublic SlicehostContextBuilder(Properties props)
protected void addContextModule(List<com.google.inject.Module> modules)
addContextModule in class RestContextBuilder<SlicehostClient,SlicehostAsyncClient>protected void addClientModule(List<com.google.inject.Module> modules)
addClientModule in class RestContextBuilder<SlicehostClient,SlicehostAsyncClient>Copyright © 2009-2012 jclouds. All Rights Reserved.