public interface Utils
Modifier and Type | Method and Description |
---|---|
HttpAsyncClient |
asyncHttp()
#see #getHttpAsyncClient
|
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() |
HttpClient |
getHttpClient() |
com.google.inject.Injector |
getInjector() |
ExecutorService |
getIoExecutor() |
Json |
getJson() |
Logger.LoggerFactory |
getLoggerFactory() |
ExecutorService |
getUserExecutor() |
XMLParser |
getXml() |
HttpClient |
http()
#see #getHttpClient
|
com.google.inject.Injector |
injector()
#see #getInjector
|
ExecutorService |
ioExecutor()
#see #getIoExecutor
|
Json |
json()
#see #getJson
|
Logger.LoggerFactory |
loggerFactory()
#see #getLoggerFactory
|
ExecutorService |
userExecutor()
#see #getUserExecutor
|
XMLParser |
xml()
#see #getXml
|
@Beta Map<String,Credentials> getCredentialStore()
id
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#8
us-east-1/i-asdfdas
, then the key will be node#us-east-1/i-asdfdas
http://cloud/instances/1
, then the key will be node#http://cloud/instances/1
@Beta Map<String,Credentials> credentialStore()
ComputeServiceContext#getCredentialStore
Json getJson()
Json json()
HttpAsyncClient getHttpAsyncClient()
HttpAsyncClient asyncHttp()
HttpClient getHttpClient()
HttpClient http()
Crypto getCrypto()
Crypto crypto()
DateService getDateService()
DateService date()
ExecutorService getUserExecutor()
ExecutorService userExecutor()
ExecutorService getIoExecutor()
ExecutorService ioExecutor()
@Beta com.google.common.eventbus.EventBus getEventBus()
com.google.common.eventbus.EventBus eventBus()
Logger.LoggerFactory getLoggerFactory()
Logger.LoggerFactory loggerFactory()
@Beta com.google.inject.Injector getInjector()
@Beta com.google.inject.Injector injector()
XMLParser getXml()
XMLParser xml()
Copyright © 2009-2013 jclouds. All Rights Reserved.