org.jclouds.rest
Interface Utils

All Known Implementing Classes:
UtilsImpl

public interface Utils

Author:
Adrian Cole

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
 

Method Detail

getCredentialStore

@Beta
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. node#. We are testing this approach for resources such as compute nodes, where you could access this externally.

accessing credentials for a node

the key is in the form node#id.


credentialStore

@Beta
Map<String,Credentials> credentialStore()
See Also:
ComputeServiceContext#getCredentialStore

getJson

Json getJson()

json

Json json()
#see #getJson


getHttpAsyncClient

HttpAsyncClient getHttpAsyncClient()

asyncHttp

HttpAsyncClient asyncHttp()
#see #getHttpAsyncClient


getHttpClient

HttpClient getHttpClient()

http

HttpClient http()
#see #getHttpClient


getCrypto

Crypto getCrypto()

crypto

Crypto crypto()
#see #getCrypto


getDateService

DateService getDateService()

date

DateService date()
#see #getDateService


getUserExecutor

com.google.common.util.concurrent.ListeningExecutorService getUserExecutor()

userExecutor

com.google.common.util.concurrent.ListeningExecutorService userExecutor()
#see #getUserExecutor


getIoExecutor

com.google.common.util.concurrent.ListeningExecutorService getIoExecutor()

ioExecutor

com.google.common.util.concurrent.ListeningExecutorService ioExecutor()
#see #getIoExecutor


getEventBus

@Beta
com.google.common.eventbus.EventBus getEventBus()

eventBus

com.google.common.eventbus.EventBus eventBus()

getLoggerFactory

Logger.LoggerFactory getLoggerFactory()

loggerFactory

Logger.LoggerFactory loggerFactory()
#see #getLoggerFactory


getInjector

@Beta
com.google.inject.Injector getInjector()

injector

@Beta
com.google.inject.Injector injector()
#see #getInjector


getXml

XMLParser getXml()

xml

XMLParser xml()
#see #getXml



Copyright © 2009-2013 jclouds. All Rights Reserved.