Class UtilsImpl

java.lang.Object
org.jclouds.rest.internal.UtilsImpl
All Implemented Interfaces:
Utils
Direct Known Subclasses:
UtilsImpl

public class UtilsImpl extends Object implements Utils
  • Constructor Details

  • Method Details

    • date

      public DateService date()
      Specified by:
      date in interface Utils
    • crypto

      public Crypto crypto()
      Specified by:
      crypto in interface Utils
    • http

      public HttpClient http()
      Specified by:
      http in interface Utils
    • eventBus

      public com.google.common.eventbus.EventBus eventBus()
      Specified by:
      eventBus in interface Utils
    • loggerFactory

      public Logger.LoggerFactory loggerFactory()
      Specified by:
      loggerFactory in interface Utils
    • json

      public Json json()
      Specified by:
      json in interface Utils
    • injector

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

      public XMLParser xml()
      Specified by:
      xml in interface Utils
    • credentialStore

      public Map<String,Credentials> credentialStore()
      Description copied from interface: Utils
      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.

      • if the node id is 8, then the key will be node#8
      • if the node id is us-east-1/i-asdfdas, then the key will be node#us-east-1/i-asdfdas
      • if the node id is http://cloud/instances/1, then the key will be node#http://cloud/instances/1
      Specified by:
      credentialStore in interface Utils