public class UtilsImpl extends Object implements Utils
| Modifier | Constructor and Description | 
|---|---|
protected  | 
UtilsImpl(com.google.inject.Injector injector,
         Json json,
         XMLParser xml,
         HttpClient simpleClient,
         HttpAsyncClient simpleAsyncClient,
         Crypto encryption,
         DateService date,
         ExecutorService userThreads,
         ExecutorService ioThreads,
         com.google.common.eventbus.EventBus eventBus,
         Map<String,Credentials> credentialStore,
         Logger.LoggerFactory loggerFactory)  | 
| 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 
 | 
@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")
                ExecutorService userThreads,
                @Named(value="jclouds.io-worker-threads")
                ExecutorService ioThreads,
                com.google.common.eventbus.EventBus eventBus,
                Map<String,Credentials> credentialStore,
                Logger.LoggerFactory loggerFactory)
public HttpAsyncClient asyncHttp()
Utilspublic DateService date()
Utilspublic DateService getDateService()
getDateService in interface Utilspublic HttpAsyncClient getHttpAsyncClient()
getHttpAsyncClient in interface Utilspublic HttpClient getHttpClient()
getHttpClient in interface Utilspublic HttpClient http()
Utilspublic ExecutorService getIoExecutor()
getIoExecutor in interface Utilspublic ExecutorService getUserExecutor()
getUserExecutor in interface Utilspublic ExecutorService ioExecutor()
UtilsioExecutor in interface Utilspublic ExecutorService 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.