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(com.google.inject.Injector injector, Json json, HttpClient simpleClient, HttpAsyncClient simpleAsyncClient, Crypto encryption, DateService date, ExecutorService userThreads, ExecutorService ioThreads, com.google.common.eventbus.EventBus eventBus, Logger.LoggerFactory loggerFactory)
           
 
Method Summary
 HttpAsyncClient asyncHttp()
          #see #getHttpAsyncClient
 Crypto crypto()
          #see #getCrypto
 DateService date()
          #see #getDateService
 com.google.common.eventbus.EventBus eventBus()
           
 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()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilsImpl

@Inject
protected UtilsImpl(com.google.inject.Injector injector,
                           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,
                           com.google.common.eventbus.EventBus eventBus,
                           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

getEventBus

public com.google.common.eventbus.EventBus getEventBus()
Specified by:
getEventBus in interface Utils

eventBus

public com.google.common.eventbus.EventBus eventBus()
Specified by:
eventBus 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

getInjector

@Beta
public com.google.inject.Injector getInjector()
Specified by:
getInjector in interface Utils

injector

@Beta
public com.google.inject.Injector injector()
Description copied from interface: Utils
#see #getInjector

Specified by:
injector in interface Utils


Copyright © 2009-2012 jclouds. All Rights Reserved.