org.jclouds.rimuhosting.miro
Class RimuHostingContextBuilder

java.lang.Object
  extended by org.jclouds.rest.RestContextBuilder<S,A>
      extended by org.jclouds.compute.ComputeServiceContextBuilder<RimuHostingClient,RimuHostingAsyncClient>
          extended by org.jclouds.rimuhosting.miro.RimuHostingContextBuilder

public class RimuHostingContextBuilder
extends ComputeServiceContextBuilder<RimuHostingClient,RimuHostingAsyncClient>

Creates RimuHostingComputeServiceContext 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.

Author:
Adrian Cole
See Also:
RimuHostingComputeServiceContext

Field Summary
 
Fields inherited from class org.jclouds.rest.RestContextBuilder
asyncClientType, modules, properties, syncClientType
 
Constructor Summary
RimuHostingContextBuilder(Properties props)
           
 
Method Summary
protected  void addClientModule(List<com.google.inject.Module> modules)
           
protected  void addContextModule(List<com.google.inject.Module> modules)
           
 ComputeServiceContext buildComputeServiceContext()
           
 
Methods inherited from class org.jclouds.compute.ComputeServiceContextBuilder
addImageResolutionModule, addImageResolutionModuleIfNotPresent, buildInjector, withModules
 
Methods inherited from class org.jclouds.rest.RestContextBuilder
addClientModuleIfNotPresent, 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

RimuHostingContextBuilder

public RimuHostingContextBuilder(Properties props)
Method Detail

addContextModule

protected void addContextModule(List<com.google.inject.Module> modules)
Overrides:
addContextModule in class RestContextBuilder<RimuHostingClient,RimuHostingAsyncClient>

buildComputeServiceContext

public ComputeServiceContext buildComputeServiceContext()
Overrides:
buildComputeServiceContext in class ComputeServiceContextBuilder<RimuHostingClient,RimuHostingAsyncClient>

addClientModule

protected void addClientModule(List<com.google.inject.Module> modules)
Overrides:
addClientModule in class RestContextBuilder<RimuHostingClient,RimuHostingAsyncClient>


Copyright © 2009-2012 jclouds. All Rights Reserved.