org.jclouds.compute.config
Class BindComputeSuppliersByClass

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.compute.config.BindComputeSuppliersByClass
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
CloudServersBindComputeSuppliersByClass, EC2BindComputeSuppliersByClass, GoGridBindComputeSuppliersByClass, NovaBindComputeSuppliersByClass, RimuHostingBindComputeSuppliersByClass, SlicehostBindComputeSuppliersByClass, TerremarkBindComputeSuppliersByClass, VCloudBindComputeSuppliersByClass

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

Author:
Adrian Cole

Constructor Summary
BindComputeSuppliersByClass()
           
 
Method Summary
protected  void bindDefaultLocationSupplier(Class<? extends com.google.common.base.Supplier<Location>> clazz)
           
protected  void bindHardwareSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Hardware>>> clazz)
           
protected  void bindImageSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> clazz)
           
protected  void bindLocationSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Location>>> clazz)
           
protected  void configure()
           
protected  Class<? extends com.google.common.base.Supplier<Location>> defineDefaultLocationSupplier()
           
protected abstract  Class<? extends com.google.common.base.Supplier<Set<? extends Hardware>>> defineHardwareSupplier()
           
protected abstract  Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> defineImageSupplier()
           
protected  Class<? extends com.google.common.base.Supplier<Set<? extends Location>>> defineLocationSupplier()
           
 
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

BindComputeSuppliersByClass

public BindComputeSuppliersByClass()
Method Detail

configure

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

defineImageSupplier

protected abstract Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> defineImageSupplier()

defineHardwareSupplier

protected abstract Class<? extends com.google.common.base.Supplier<Set<? extends Hardware>>> defineHardwareSupplier()

defineLocationSupplier

protected Class<? extends com.google.common.base.Supplier<Set<? extends Location>>> defineLocationSupplier()

defineDefaultLocationSupplier

protected Class<? extends com.google.common.base.Supplier<Location>> defineDefaultLocationSupplier()

bindImageSupplier

protected void bindImageSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> clazz)

bindLocationSupplier

protected void bindLocationSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Location>>> clazz)

bindDefaultLocationSupplier

protected void bindDefaultLocationSupplier(Class<? extends com.google.common.base.Supplier<Location>> clazz)

bindHardwareSupplier

protected void bindHardwareSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Hardware>>> clazz)


Copyright © 2009-2011 jclouds. All Rights Reserved.