org.jclouds.joyent.cloudapi.v6_5.compute.loaders
Class CreateUniqueKey

java.lang.Object
  extended by com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey>
      extended by org.jclouds.joyent.cloudapi.v6_5.compute.loaders.CreateUniqueKey

@Singleton
public class CreateUniqueKey
extends com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey>

Author:
Adrian Cole

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException
 
Field Summary
protected  JoyentCloudApi cloudApiApi
           
protected  Crypto crypto
           
protected  Logger logger
           
protected  GroupNamingConvention.Factory namingConvention
           
protected  javax.inject.Provider<SecureRandom> secureRandom
           
 
Constructor Summary
CreateUniqueKey(JoyentCloudApi cloudApiApi, GroupNamingConvention.Factory namingConvention, Crypto crypto, javax.inject.Provider<SecureRandom> secureRandom)
           
 
Method Summary
 KeyAndPrivateKey load(DatacenterAndName datacenterAndName)
           
 
Methods inherited from class com.google.common.cache.CacheLoader
from, from, loadAll, reload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger

cloudApiApi

protected final JoyentCloudApi cloudApiApi

namingConvention

protected final GroupNamingConvention.Factory namingConvention

crypto

protected final Crypto crypto

secureRandom

protected final javax.inject.Provider<SecureRandom> secureRandom
Constructor Detail

CreateUniqueKey

@Inject
public CreateUniqueKey(JoyentCloudApi cloudApiApi,
                              GroupNamingConvention.Factory namingConvention,
                              Crypto crypto,
                              javax.inject.Provider<SecureRandom> secureRandom)
Method Detail

load

public KeyAndPrivateKey load(DatacenterAndName datacenterAndName)
Specified by:
load in class com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey>


Copyright © 2009-2012 jclouds. All Rights Reserved.