|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.inject.AbstractModule org.jclouds.compute.config.ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
public static class ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
install this, if you want to use your computeservice adapter to handle locations. Note that if you do this, you'll want to instantiate a subclass to prevent type erasure. ex.
install(new LocationsFromComputeServiceAdapterModulenot(){});
install(new LocationsFromComputeServiceAdapterModule());
Constructor Summary | |
---|---|
ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule()
|
Method Summary | |
---|---|
protected void |
configure()
|
protected LocationsSupplier |
supplyLocationsFromComputeServiceAdapter(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<L,Location> transformer)
|
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 |
---|
public ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule()
Method Detail |
---|
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected LocationsSupplier supplyLocationsFromComputeServiceAdapter(ComputeServiceAdapter<N,H,I,L> adapter, com.google.common.base.Function<L,Location> transformer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |