org.jclouds.compute.config
Class ComputeServiceAdapterContextModule<S,A,N,H,I,L>
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.compute.config.BaseComputeServiceContextModule
org.jclouds.compute.config.ComputeServiceAdapterContextModule<S,A,N,H,I,L>
- All Implemented Interfaces:
- com.google.inject.Module
- Direct Known Subclasses:
- CloudServersComputeServiceContextModule, CloudSigmaComputeServiceContextModule, CloudStackComputeServiceContextModule, DeltacloudComputeServiceContextModule, ElasticStackComputeServiceContextModule, GleSYSComputeServiceContextModule, GoGridComputeServiceContextModule, JCloudsNativeComputeServiceAdapterContextModule, NovaComputeServiceContextModule, ServerManagerComputeServiceContextModule, SlicehostComputeServiceContextModule, SoftLayerComputeServiceContextModule, VCloudComputeServiceContextModule, VPDCComputeServiceContextModule
public class ComputeServiceAdapterContextModule<S,A,N,H,I,L>
- extends BaseComputeServiceContextModule
- Author:
- Adrian Cole
Method Summary |
protected void |
configure()
|
protected CreateNodeWithGroupEncodedIntoName |
defineAddNodeWithTagStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
|
protected DestroyNodeStrategy |
defineDestroyNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
|
protected GetNodeMetadataStrategy |
defineGetNodeMetadataStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
|
protected ListNodesStrategy |
defineListNodesStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
|
protected RebootNodeStrategy |
defineRebootNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
|
protected ResumeNodeStrategy |
defineStartNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
|
protected SuspendNodeStrategy |
defineStopNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
|
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
provideHardware(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<H,Hardware> transformer)
|
protected com.google.common.base.Supplier<Set<? extends Image>> |
provideImages(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<I,Image> transformer,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage)
|
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplate, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldParseImagesOnDemand, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, supplySizeCache |
Methods inherited from class com.google.inject.AbstractModule |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComputeServiceAdapterContextModule
public ComputeServiceAdapterContextModule(Class<S> syncClientType,
Class<A> asyncClientType)
configure
protected void configure()
- Overrides:
configure
in class BaseComputeServiceContextModule
provideHardware
@Provides
@Singleton
protected com.google.common.base.Supplier<Set<? extends Hardware>> provideHardware(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<H,Hardware> transformer)
provideImages
@Provides
@Singleton
protected com.google.common.base.Supplier<Set<? extends Image>> provideImages(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<I,Image> transformer,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage)
defineAddNodeWithTagStrategy
@Provides
@Singleton
protected CreateNodeWithGroupEncodedIntoName defineAddNodeWithTagStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
defineDestroyNodeStrategy
@Provides
@Singleton
protected DestroyNodeStrategy defineDestroyNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
defineGetNodeMetadataStrategy
@Provides
@Singleton
protected GetNodeMetadataStrategy defineGetNodeMetadataStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
defineListNodesStrategy
@Provides
@Singleton
protected ListNodesStrategy defineListNodesStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
defineRebootNodeStrategy
@Provides
@Singleton
protected RebootNodeStrategy defineRebootNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
defineStartNodeStrategy
@Provides
@Singleton
protected ResumeNodeStrategy defineStartNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
defineStopNodeStrategy
@Provides
@Singleton
protected SuspendNodeStrategy defineStopNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
Copyright © 2009-2012 jclouds. All Rights Reserved.