org.jclouds.compute.config
Class BindComputeStrategiesByClass

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.compute.config.BindComputeStrategiesByClass
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
EC2BindComputeStrategiesByClass, RimuHostingBindComputeStrategiesByClass, TerremarkBindComputeStrategiesByClass

public abstract class BindComputeStrategiesByClass
extends com.google.inject.AbstractModule

Author:
Adrian Cole

Constructor Summary
BindComputeStrategiesByClass()
           
 
Method Summary
protected  void bindAddNodeWithTagStrategy(Class<? extends CreateNodeWithGroupEncodedIntoName> clazz)
          needed, if CreateNodesInGroupThenAddToSet requires it
protected  void bindDestroyNodeStrategy(Class<? extends DestroyNodeStrategy> clazz)
           
protected  void bindGetNodeMetadataStrategy(Class<? extends GetNodeMetadataStrategy> clazz)
           
protected  void bindListNodesStrategy(Class<? extends ListNodesStrategy> clazz)
           
protected  void bindRebootNodeStrategy(Class<? extends RebootNodeStrategy> clazz)
           
protected  void bindRunNodesAndAddToSetStrategy(Class<? extends CreateNodesInGroupThenAddToSet> clazz)
           
protected  void bindStartNodeStrategy(Class<? extends ResumeNodeStrategy> clazz)
           
protected  void bindStopNodeStrategy(Class<? extends SuspendNodeStrategy> clazz)
           
protected  void configure()
           
protected abstract  Class<? extends CreateNodeWithGroupEncodedIntoName> defineAddNodeWithTagStrategy()
          needed, if CreateNodesInGroupThenAddToSet requires it
protected abstract  Class<? extends DestroyNodeStrategy> defineDestroyNodeStrategy()
           
protected abstract  Class<? extends GetNodeMetadataStrategy> defineGetNodeMetadataStrategy()
           
protected abstract  Class<? extends ListNodesStrategy> defineListNodesStrategy()
           
protected abstract  Class<? extends RebootNodeStrategy> defineRebootNodeStrategy()
           
protected  Class<? extends CreateNodesInGroupThenAddToSet> defineRunNodesAndAddToSetStrategy()
           
protected abstract  Class<? extends ResumeNodeStrategy> defineStartNodeStrategy()
           
protected abstract  Class<? extends SuspendNodeStrategy> defineStopNodeStrategy()
           
 
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
 

Constructor Detail

BindComputeStrategiesByClass

public BindComputeStrategiesByClass()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

bindRunNodesAndAddToSetStrategy

protected void bindRunNodesAndAddToSetStrategy(Class<? extends CreateNodesInGroupThenAddToSet> clazz)

bindAddNodeWithTagStrategy

protected void bindAddNodeWithTagStrategy(Class<? extends CreateNodeWithGroupEncodedIntoName> clazz)
needed, if CreateNodesInGroupThenAddToSet requires it


bindDestroyNodeStrategy

protected void bindDestroyNodeStrategy(Class<? extends DestroyNodeStrategy> clazz)

bindRebootNodeStrategy

protected void bindRebootNodeStrategy(Class<? extends RebootNodeStrategy> clazz)

bindStartNodeStrategy

protected void bindStartNodeStrategy(Class<? extends ResumeNodeStrategy> clazz)

bindStopNodeStrategy

protected void bindStopNodeStrategy(Class<? extends SuspendNodeStrategy> clazz)

bindGetNodeMetadataStrategy

protected void bindGetNodeMetadataStrategy(Class<? extends GetNodeMetadataStrategy> clazz)

bindListNodesStrategy

protected void bindListNodesStrategy(Class<? extends ListNodesStrategy> clazz)

defineRunNodesAndAddToSetStrategy

protected Class<? extends CreateNodesInGroupThenAddToSet> defineRunNodesAndAddToSetStrategy()

defineAddNodeWithTagStrategy

protected abstract Class<? extends CreateNodeWithGroupEncodedIntoName> defineAddNodeWithTagStrategy()
needed, if CreateNodesInGroupThenAddToSet requires it


defineDestroyNodeStrategy

protected abstract Class<? extends DestroyNodeStrategy> defineDestroyNodeStrategy()

defineRebootNodeStrategy

protected abstract Class<? extends RebootNodeStrategy> defineRebootNodeStrategy()

defineStartNodeStrategy

protected abstract Class<? extends ResumeNodeStrategy> defineStartNodeStrategy()

defineStopNodeStrategy

protected abstract Class<? extends SuspendNodeStrategy> defineStopNodeStrategy()

defineGetNodeMetadataStrategy

protected abstract Class<? extends GetNodeMetadataStrategy> defineGetNodeMetadataStrategy()

defineListNodesStrategy

protected abstract Class<? extends ListNodesStrategy> defineListNodesStrategy()


Copyright © 2009-2012 jclouds. All Rights Reserved.