| Modifier | Constructor and Description |
|---|---|
protected |
UtilsImpl(com.google.inject.Injector injector,
Json json,
XMLParser xml,
HttpClient simpleClient,
HttpAsyncClient simpleAsyncClient,
Crypto encryption,
DateService date,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.util.concurrent.ListeningExecutorService ioExecutor,
com.google.common.eventbus.EventBus eventBus,
Map<String,Credentials> credentialStore,
Logger.LoggerFactory loggerFactory) |
| Modifier and Type | Method and Description |
|---|---|
HttpAsyncClient |
asyncHttp()
Deprecated.
|
Map<String,Credentials> |
credentialStore()
retrieves a list of credentials for resources created within this context, keyed on
id
of the resource with a namespace prefix (ex. |
Crypto |
crypto() |
DateService |
date() |
com.google.common.eventbus.EventBus |
eventBus() |
HttpClient |
http() |
com.google.inject.Injector |
injector() |
com.google.common.util.concurrent.ListeningExecutorService |
ioExecutor() |
Json |
json() |
Logger.LoggerFactory |
loggerFactory() |
com.google.common.util.concurrent.ListeningExecutorService |
userExecutor() |
XMLParser |
xml() |
@Inject
protected UtilsImpl(com.google.inject.Injector injector,
Json json,
XMLParser xml,
HttpClient simpleClient,
HttpAsyncClient simpleAsyncClient,
Crypto encryption,
DateService date,
@Named(value="jclouds.user-threads")
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
@Named(value="jclouds.io-worker-threads")
com.google.common.util.concurrent.ListeningExecutorService ioExecutor,
com.google.common.eventbus.EventBus eventBus,
Map<String,Credentials> credentialStore,
Logger.LoggerFactory loggerFactory)
@Deprecated public HttpAsyncClient asyncHttp()
public DateService date()
public HttpClient http()
public com.google.common.util.concurrent.ListeningExecutorService ioExecutor()
ioExecutor in interface Utilspublic com.google.common.util.concurrent.ListeningExecutorService userExecutor()
userExecutor in interface Utilspublic com.google.common.eventbus.EventBus eventBus()
public Logger.LoggerFactory loggerFactory()
loggerFactory in interface Utils@Beta public com.google.inject.Injector injector()
public Map<String,Credentials> credentialStore()
Utilsid
of the resource with a namespace prefix (ex. node#. We are testing this approach for
resources such as compute nodes, where you could access this externally.
node#id.
8, then the key will be node#8us-east-1/i-asdfdas, then the key will be node#us-east-1/i-asdfdashttp://cloud/instances/1, then the key will be node#http://cloud/instances/1credentialStore in interface UtilsCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.