| 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() |
Crypto |
crypto()
#see #getCrypto
|
DateService |
date()
#see #getDateService
|
com.google.common.eventbus.EventBus |
eventBus() |
Map<String,Credentials> |
getCredentialStore()
retrieves a list of credentials for resources created within this context, keyed on
id
of the resource with a namespace prefix (ex. |
Crypto |
getCrypto() |
DateService |
getDateService() |
com.google.common.eventbus.EventBus |
getEventBus() |
HttpAsyncClient |
getHttpAsyncClient()
Deprecated.
|
HttpClient |
getHttpClient() |
com.google.inject.Injector |
getInjector() |
com.google.common.util.concurrent.ListeningExecutorService |
getIoExecutor() |
Json |
getJson() |
Logger.LoggerFactory |
getLoggerFactory() |
com.google.common.util.concurrent.ListeningExecutorService |
getUserExecutor() |
XMLParser |
getXml() |
HttpClient |
http()
#see #getHttpClient
|
com.google.inject.Injector |
injector()
#see #getInjector
|
com.google.common.util.concurrent.ListeningExecutorService |
ioExecutor()
#see #getIoExecutor
|
Json |
json()
#see #getJson
|
Logger.LoggerFactory |
loggerFactory()
#see #getLoggerFactory
|
com.google.common.util.concurrent.ListeningExecutorService |
userExecutor()
#see #getUserExecutor
|
XMLParser |
xml()
#see #getXml
|
@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()
asyncHttp in interface UtilsUtils.http()public DateService date()
Utilspublic DateService getDateService()
getDateService in interface Utils@Deprecated public HttpAsyncClient getHttpAsyncClient()
getHttpAsyncClient in interface UtilsUtils.getHttpClient()public HttpClient getHttpClient()
getHttpClient in interface Utilspublic HttpClient http()
Utilspublic com.google.common.util.concurrent.ListeningExecutorService getIoExecutor()
getIoExecutor in interface Utilspublic com.google.common.util.concurrent.ListeningExecutorService getUserExecutor()
getUserExecutor in interface Utilspublic com.google.common.util.concurrent.ListeningExecutorService ioExecutor()
UtilsioExecutor in interface Utilspublic com.google.common.util.concurrent.ListeningExecutorService userExecutor()
UtilsuserExecutor in interface Utilspublic com.google.common.eventbus.EventBus getEventBus()
getEventBus in interface Utilspublic com.google.common.eventbus.EventBus eventBus()
public Logger.LoggerFactory getLoggerFactory()
getLoggerFactory in interface Utilspublic Logger.LoggerFactory loggerFactory()
UtilsloggerFactory in interface Utils@Beta public com.google.inject.Injector getInjector()
getInjector in interface Utils@Beta public com.google.inject.Injector injector()
Utilspublic Map<String,Credentials> credentialStore()
credentialStore in interface UtilsComputeServiceContext#getCredentialStorepublic Map<String,Credentials> getCredentialStore()
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/1getCredentialStore in interface UtilsCopyright © 2009-2013 jclouds. All Rights Reserved.