|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.location.config.LocationModule
public class LocationModule
| Field Summary | |
|---|---|
protected AtomicReference<AuthorizationException> |
authException
|
| Constructor Summary | |
|---|---|
LocationModule()
|
|
LocationModule(AtomicReference<AuthorizationException> authException)
|
|
| Method Summary | |
|---|---|
protected void |
configure()
|
protected com.google.common.base.Supplier<Map<String,? extends Location>> |
provideLocationMap(com.google.common.base.Supplier<Set<? extends Location>> locations)
|
protected com.google.common.base.Supplier<Set<? extends Location>> |
supplyLocationCache(long seconds,
com.google.common.base.Supplier<Set<? extends Location>> locationSupplier)
|
| 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 |
| Field Detail |
|---|
protected final AtomicReference<AuthorizationException> authException
| Constructor Detail |
|---|
public LocationModule()
public LocationModule(AtomicReference<AuthorizationException> authException)
| Method Detail |
|---|
@Provides @Singleton protected com.google.common.base.Supplier<Map<String,? extends Location>> provideLocationMap(com.google.common.base.Supplier<Set<? extends Location>> locations)
@Provides
@Singleton
protected com.google.common.base.Supplier<Set<? extends Location>> supplyLocationCache(@Named(value="jclouds.session-interval")
long seconds,
com.google.common.base.Supplier<Set<? extends Location>> locationSupplier)
protected void configure()
configure in class com.google.inject.AbstractModule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||