Package org.jclouds.rest.internal
Class UtilsImpl
java.lang.Object
org.jclouds.rest.internal.UtilsImpl
- All Implemented Interfaces:
Utils
- Direct Known Subclasses:
UtilsImpl
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UtilsImpl
(com.google.inject.Injector injector, Json json, XMLParser xml, HttpClient simpleClient, Crypto encryption, DateService date, com.google.common.eventbus.EventBus eventBus, Map<String, Credentials> credentialStore, Logger.LoggerFactory loggerFactory) -
Method Summary
-
Constructor Details
-
UtilsImpl
@Inject protected UtilsImpl(com.google.inject.Injector injector, Json json, XMLParser xml, HttpClient simpleClient, Crypto encryption, DateService date, com.google.common.eventbus.EventBus eventBus, Map<String, Credentials> credentialStore, Logger.LoggerFactory loggerFactory)
-
-
Method Details
-
date
-
crypto
-
http
-
eventBus
public com.google.common.eventbus.EventBus eventBus() -
loggerFactory
- Specified by:
loggerFactory
in interfaceUtils
-
json
-
injector
@Beta public com.google.inject.Injector injector() -
xml
-
credentialStore
Description copied from interface:Utils
retrieves a list of credentials for resources created within this context, keyed onid
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 formnode#id
.- if the node id is
8
, then the key will benode#8
- if the node id is
us-east-1/i-asdfdas
, then the key will benode#us-east-1/i-asdfdas
- if the node id is
http://cloud/instances/1
, then the key will benode#http://cloud/instances/1
- Specified by:
credentialStore
in interfaceUtils
- if the node id is
-