org.jclouds.openstack.nova
Class NovaContextBuilder
java.lang.Object
org.jclouds.rest.RestContextBuilder<S,A>
org.jclouds.compute.ComputeServiceContextBuilder<NovaClient,NovaAsyncClient>
org.jclouds.openstack.nova.NovaContextBuilder
public class NovaContextBuilder
- extends ComputeServiceContextBuilder<NovaClient,NovaAsyncClient>
Creates NovaComputeServiceContext
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.
- Author:
- Adrian Cole
- See Also:
NovaComputeServiceContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NovaContextBuilder
public NovaContextBuilder(Properties props)
addContextModule
protected void addContextModule(List<com.google.inject.Module> modules)
- Overrides:
addContextModule
in class RestContextBuilder<NovaClient,NovaAsyncClient>
addClientModule
protected void addClientModule(List<com.google.inject.Module> modules)
- Overrides:
addClientModule
in class RestContextBuilder<NovaClient,NovaAsyncClient>
Copyright © 2009-2011 jclouds. All Rights Reserved.