|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.openstack.keystone.v2_0.config.KeystoneAuthenticationModule.ProviderModule
public static class KeystoneAuthenticationModule.ProviderModule
For global services who have no regions, such as DNS. To use, do the following
ApiMetadata.getDefaultModules()@CloudDNS, and make sure that has the meta-annotation
QualifierAsyncApi classes by placing it on the type. ex.
@Endpoint(CloudDNS.class)RestClientModule
bind(new TypeLiteral<Supplier<URI>>() {
}).annotatedWith(CloudDNS.class).to(new TypeLiteral<Supplier<URI>>() {
});
| Constructor Summary | |
|---|---|
KeystoneAuthenticationModule.ProviderModule()
|
|
| Method Summary | |
|---|---|
protected void |
configure()
|
protected com.google.common.base.Supplier<URI> |
provideZoneIdToURISupplierForApiVersion(String serviceType,
String apiVersion,
LocationIdToURIFromAccessForTypeAndVersion.Factory factory)
|
| 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 KeystoneAuthenticationModule.ProviderModule()
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule
@Provides
@Singleton
protected com.google.common.base.Supplier<URI> provideZoneIdToURISupplierForApiVersion(@Named(value="jclouds.keystone.service-type")
String serviceType,
String apiVersion,
LocationIdToURIFromAccessForTypeAndVersion.Factory factory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||