org.jclouds.compute
Class ComputeServiceContextBuilder<S,A>

java.lang.Object
  extended by org.jclouds.rest.RestContextBuilder<S,A>
      extended by org.jclouds.compute.ComputeServiceContextBuilder<S,A>
Direct Known Subclasses:
CloudServersContextBuilder, CloudSigmaContextBuilder, DeltacloudContextBuilder, EC2ContextBuilder, ElasticStackContextBuilder, GoGridContextBuilder, NovaContextBuilder, RimuHostingContextBuilder, SlicehostContextBuilder, SoftLayerContextBuilder, StandaloneComputeServiceContextBuilder, TerremarkVCloudContextBuilder, VCloudContextBuilder, VPDCContextBuilder

public abstract class ComputeServiceContextBuilder<S,A>
extends RestContextBuilder<S,A>

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.rest.RestContextBuilder
asyncClientType, modules, properties, syncClientType
 
Constructor Summary
ComputeServiceContextBuilder(Class<S> syncClientType, Class<A> asyncClientType)
           
ComputeServiceContextBuilder(Class<S> syncClientType, Class<A> asyncClientType, Properties properties)
           
 
Method Summary
protected  void addImageResolutionModule()
           
protected  void addImageResolutionModuleIfNotPresent()
           
 ComputeServiceContext buildComputeServiceContext()
           
 com.google.inject.Injector buildInjector()
           
 ComputeServiceContextBuilder<S,A> withModules(Iterable<com.google.inject.Module> modules)
          
 
Methods inherited from class org.jclouds.rest.RestContextBuilder
addClientModule, addClientModuleIfNotPresent, addContextModule, addContextModuleIfNotPresent, addCredentialStoreIfNotPresent, addExecutorServiceIfNotPresent, addHttpModuleIfNeededAndNotPresent, addLoggingModuleIfNotPresent, buildContext, getProperties, ifHttpConfigureRestOtherwiseGuiceClientFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputeServiceContextBuilder

public ComputeServiceContextBuilder(Class<S> syncClientType,
                                    Class<A> asyncClientType)

ComputeServiceContextBuilder

public ComputeServiceContextBuilder(Class<S> syncClientType,
                                    Class<A> asyncClientType,
                                    Properties properties)
Method Detail

buildInjector

public com.google.inject.Injector buildInjector()
Overrides:
buildInjector in class RestContextBuilder<S,A>

withModules

public ComputeServiceContextBuilder<S,A> withModules(Iterable<com.google.inject.Module> modules)

Overrides:
withModules in class RestContextBuilder<S,A>

buildComputeServiceContext

public ComputeServiceContext buildComputeServiceContext()

addImageResolutionModuleIfNotPresent

protected void addImageResolutionModuleIfNotPresent()

addImageResolutionModule

protected void addImageResolutionModule()


Copyright © 2009-2011 jclouds. All Rights Reserved.