Class ServiceCatalogModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.openstack.keystone.catalog.config.ServiceCatalogModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class ServiceCatalogModule extends com.google.inject.AbstractModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceCatalogModule.ProviderModule
For global services who have no regions, such as DNS.static class
ServiceCatalogModule.RegionModule
-
Constructor Summary
Constructors Constructor Description ServiceCatalogModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
protected com.google.common.base.Supplier<List<ServiceEndpoint>>
provideServiceCatalog(com.google.inject.Injector i, String keystoneVersion)
-
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
-
provideServiceCatalog
@Provides @Singleton protected final com.google.common.base.Supplier<List<ServiceEndpoint>> provideServiceCatalog(com.google.inject.Injector i, @Named("jclouds.keystone.version") String keystoneVersion)
-
-