Modifier | Constructor and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Map<String,Credentials> |
credentialStore()
retrieves a list of credentials for resources created within this context, keyed on
id
of the resource with a namespace prefix (ex. |
Crypto |
crypto() |
DateService |
date() |
com.google.common.eventbus.EventBus |
eventBus() |
HttpClient |
http() |
com.google.inject.Injector |
injector() |
Json |
json() |
Logger.LoggerFactory |
loggerFactory() |
XMLParser |
xml() |
@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)
public DateService date()
public HttpClient http()
public com.google.common.eventbus.EventBus eventBus()
public Logger.LoggerFactory loggerFactory()
loggerFactory
in interface Utils
@Beta public com.google.inject.Injector injector()
public Map<String,Credentials> credentialStore()
Utils
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.
node#id
.
8
, then the key will be node#8
us-east-1/i-asdfdas
, then the key will be node#us-east-1/i-asdfdas
http://cloud/instances/1
, then the key will be node#http://cloud/instances/1
credentialStore
in interface Utils
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.