Package org.jclouds.compute.config
Class BindComputeSuppliersByClass
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.compute.config.BindComputeSuppliersByClass
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
EC2BindComputeSuppliersByClass
public abstract class BindComputeSuppliersByClass extends com.google.inject.AbstractModule
-
-
Constructor Summary
Constructors Constructor Description BindComputeSuppliersByClass()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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
configure()
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()
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classcom.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()
-
bindImageSupplier
protected void bindImageSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> clazz)
-
-