|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.rest.internal.UtilsImpl
public class UtilsImpl
| Constructor Summary | |
|---|---|
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)
|
| Method Summary | |
|---|---|
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()
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@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)
| Method Detail |
|---|
public HttpAsyncClient asyncHttp()
Utils
asyncHttp in interface Utilspublic DateService date()
Utils
date in interface Utilspublic Crypto crypto()
Utils
crypto in interface Utilspublic DateService getDateService()
getDateService in interface Utilspublic Crypto getCrypto()
getCrypto in interface Utilspublic HttpAsyncClient getHttpAsyncClient()
getHttpAsyncClient in interface Utilspublic HttpClient getHttpClient()
getHttpClient in interface Utilspublic HttpClient http()
Utils
http in interface 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()
Utils
ioExecutor in interface Utilspublic com.google.common.util.concurrent.ListeningExecutorService userExecutor()
Utils
userExecutor in interface Utilspublic com.google.common.eventbus.EventBus getEventBus()
getEventBus in interface Utilspublic com.google.common.eventbus.EventBus eventBus()
eventBus in interface Utilspublic Logger.LoggerFactory getLoggerFactory()
getLoggerFactory in interface Utilspublic Logger.LoggerFactory loggerFactory()
Utils
loggerFactory in interface Utilspublic Json getJson()
getJson in interface Utilspublic Json json()
Utils
json in interface Utils@Beta public com.google.inject.Injector getInjector()
getInjector in interface Utils@Beta public com.google.inject.Injector injector()
Utils
injector in interface Utilspublic XMLParser getXml()
getXml in interface Utilspublic XMLParser xml()
Utils
xml in interface 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/1
getCredentialStore in interface Utils
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||