org.jclouds.rest.internal
Class UtilsImpl

java.lang.Object
  extended by org.jclouds.rest.internal.UtilsImpl
All Implemented Interfaces:
Utils
Direct Known Subclasses:
UtilsImpl

public class UtilsImpl
extends Object
implements Utils

Author:
Adrian Cole

Constructor Summary
protected UtilsImpl(Json json, HttpClient simpleClient, HttpAsyncClient simpleAsyncClient, Crypto encryption, DateService date, ExecutorService userThreads, ExecutorService ioThreads, Logger.LoggerFactory loggerFactory)
           
 
Method Summary
 HttpAsyncClient asyncHttp()
          #see #getHttpAsyncClient
 Crypto crypto()
          #see #getCrypto
 DateService date()
          #see #getDateService
 Crypto getCrypto()
           
 DateService getDateService()
           
 HttpAsyncClient getHttpAsyncClient()
           
 HttpClient getHttpClient()
           
 ExecutorService getIoExecutor()
           
 Json getJson()
           
 Logger.LoggerFactory getLoggerFactory()
           
 ExecutorService getUserExecutor()
           
 HttpClient http()
          #see #getHttpClient
 ExecutorService ioExecutor()
          #see #getIoExecutor
 Json json()
          #see #getJson
 Logger.LoggerFactory loggerFactory()
          #see #getLoggerFactory
 ExecutorService userExecutor()
          #see #getUserExecutor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilsImpl

@Inject
protected UtilsImpl(Json json,
                           HttpClient simpleClient,
                           HttpAsyncClient simpleAsyncClient,
                           Crypto encryption,
                           DateService date,
                           @Named(value="jclouds.user-threads")
                           ExecutorService userThreads,
                           @Named(value="jclouds.io-worker-threads")
                           ExecutorService ioThreads,
                           Logger.LoggerFactory loggerFactory)
Method Detail

asyncHttp

public HttpAsyncClient asyncHttp()
Description copied from interface: Utils
#see #getHttpAsyncClient

Specified by:
asyncHttp in interface Utils

date

public DateService date()
Description copied from interface: Utils
#see #getDateService

Specified by:
date in interface Utils

crypto

public Crypto crypto()
Description copied from interface: Utils
#see #getCrypto

Specified by:
crypto in interface Utils

getDateService

public DateService getDateService()
Specified by:
getDateService in interface Utils

getCrypto

public Crypto getCrypto()
Specified by:
getCrypto in interface Utils

getHttpAsyncClient

public HttpAsyncClient getHttpAsyncClient()
Specified by:
getHttpAsyncClient in interface Utils

getHttpClient

public HttpClient getHttpClient()
Specified by:
getHttpClient in interface Utils

http

public HttpClient http()
Description copied from interface: Utils
#see #getHttpClient

Specified by:
http in interface Utils

getIoExecutor

public ExecutorService getIoExecutor()
Specified by:
getIoExecutor in interface Utils

getUserExecutor

public ExecutorService getUserExecutor()
Specified by:
getUserExecutor in interface Utils

ioExecutor

public ExecutorService ioExecutor()
Description copied from interface: Utils
#see #getIoExecutor

Specified by:
ioExecutor in interface Utils

userExecutor

public ExecutorService userExecutor()
Description copied from interface: Utils
#see #getUserExecutor

Specified by:
userExecutor in interface Utils

getLoggerFactory

public Logger.LoggerFactory getLoggerFactory()
Specified by:
getLoggerFactory in interface Utils

loggerFactory

public Logger.LoggerFactory loggerFactory()
Description copied from interface: Utils
#see #getLoggerFactory

Specified by:
loggerFactory in interface Utils

getJson

public Json getJson()
Specified by:
getJson in interface Utils

json

public Json json()
Description copied from interface: Utils
#see #getJson

Specified by:
json in interface Utils


Copyright © 2009-2011 jclouds. All Rights Reserved.