public class StubComputeServiceDependenciesModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
StubComputeServiceDependenciesModule.StubSocketOpen |
Modifier and Type | Field and Description |
---|---|
protected static com.google.common.cache.LoadingCache<String,ConcurrentMap<String,NodeMetadata>> |
backing |
protected static com.google.common.cache.LoadingCache<String,AtomicInteger> |
nodeIds |
Constructor and Description |
---|
StubComputeServiceDependenciesModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected Integer |
provideNodeIdForIdentity(String identity) |
protected ConcurrentMap<String,NodeMetadata> |
provideNodesForIdentity(String identity) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected static final com.google.common.cache.LoadingCache<String,ConcurrentMap<String,NodeMetadata>> backing
protected static final com.google.common.cache.LoadingCache<String,AtomicInteger> nodeIds
public StubComputeServiceDependenciesModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected ConcurrentMap<String,NodeMetadata> provideNodesForIdentity(String identity) throws ExecutionException
ExecutionException
@Provides @Named(value="NODE_ID") protected Integer provideNodeIdForIdentity(String identity) throws ExecutionException
ExecutionException
Copyright © 2009-2012 jclouds. All Rights Reserved.