public static class ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
extends com.google.inject.AbstractModule
install(new LocationsFromComputeServiceAdapterModule<NodeMetadata, Hardware, Image, Location>() { });not
install(new LocationsFromComputeServiceAdapterModule<NodeMetadata, Hardware, Image, Location>());
Constructor and Description |
---|
ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected LocationsSupplier |
supplyLocationsFromComputeServiceAdapter(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<L,Location> transformer) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected final LocationsSupplier supplyLocationsFromComputeServiceAdapter(ComputeServiceAdapter<N,H,I,L> adapter, com.google.common.base.Function<L,Location> transformer)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.