org.jclouds.rest
Interface Utils

All Known Implementing Classes:
UtilsImpl

public interface Utils

Author:
Adrian Cole

Method Summary
 HttpAsyncClient asyncHttp()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 Map<String,Credentials> credentialStore()
           
 Crypto crypto()
          #see #getCrypto
 DateService date()
          #see #getDateService
 com.google.common.eventbus.EventBus eventBus()
           
 Map<String,Credentials> getCredentialStore()
          Deprecated. 
 Crypto getCrypto()
          Deprecated. 
 DateService getDateService()
          Deprecated. 
 com.google.common.eventbus.EventBus getEventBus()
          Deprecated. 
 HttpAsyncClient getHttpAsyncClient()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 HttpClient getHttpClient()
          Deprecated. 
 com.google.inject.Injector getInjector()
          Deprecated. 
 com.google.common.util.concurrent.ListeningExecutorService getIoExecutor()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 Json getJson()
          Deprecated. 
 Logger.LoggerFactory getLoggerFactory()
          Deprecated. 
 com.google.common.util.concurrent.ListeningExecutorService getUserExecutor()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 XMLParser getXml()
          Deprecated. 
 HttpClient http()
          #see #getHttpClient
 com.google.inject.Injector injector()
          #see #getInjector
 com.google.common.util.concurrent.ListeningExecutorService ioExecutor()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 Json json()
          #see #getJson
 Logger.LoggerFactory loggerFactory()
          #see #getLoggerFactory
 com.google.common.util.concurrent.ListeningExecutorService userExecutor()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.
 XMLParser xml()
          #see #getXml
 

Method Detail

getCredentialStore

@Beta
@Deprecated
Map<String,Credentials> getCredentialStore()
Deprecated. 

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

@Deprecated
Json getJson()
Deprecated. 


json

Json json()
#see #getJson


getHttpAsyncClient

@Deprecated
HttpAsyncClient getHttpAsyncClient()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.

See Also:
getHttpClient()

asyncHttp

@Deprecated
HttpAsyncClient asyncHttp()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.

See Also:
http()

getHttpClient

@Deprecated
HttpClient getHttpClient()
Deprecated. 


http

HttpClient http()
#see #getHttpClient


getCrypto

@Deprecated
Crypto getCrypto()
Deprecated. 


crypto

Crypto crypto()
#see #getCrypto


getDateService

@Deprecated
DateService getDateService()
Deprecated. 


date

DateService date()
#see #getDateService


getUserExecutor

@Deprecated
com.google.common.util.concurrent.ListeningExecutorService getUserExecutor()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.


userExecutor

@Deprecated
com.google.common.util.concurrent.ListeningExecutorService userExecutor()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.

#see #getUserExecutor


getIoExecutor

@Deprecated
com.google.common.util.concurrent.ListeningExecutorService getIoExecutor()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.


ioExecutor

@Deprecated
com.google.common.util.concurrent.ListeningExecutorService ioExecutor()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported.

#see #getIoExecutor


getEventBus

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


eventBus

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

getLoggerFactory

@Deprecated
Logger.LoggerFactory getLoggerFactory()
Deprecated. 


loggerFactory

Logger.LoggerFactory loggerFactory()
#see #getLoggerFactory


getInjector

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


injector

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


getXml

@Deprecated
XMLParser getXml()
Deprecated. 


xml

XMLParser xml()
#see #getXml



Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.