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  org.jclouds.logging.Logger logger
           
protected  org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention
           
protected  org.jclouds.crypto.SshKeyPairGenerator sshKeyPairGenerator
           
 
Constructor Summary
CreateUniqueKey(JoyentCloudApi cloudApiApi, org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention, org.jclouds.crypto.SshKeyPairGenerator sshKeyPairGenerator)
           
 
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 org.jclouds.logging.Logger logger

cloudApiApi

protected final JoyentCloudApi cloudApiApi

namingConvention

protected final org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention

sshKeyPairGenerator

protected final org.jclouds.crypto.SshKeyPairGenerator sshKeyPairGenerator
Constructor Detail

CreateUniqueKey

@Inject
public CreateUniqueKey(JoyentCloudApi cloudApiApi,
                              org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention,
                              org.jclouds.crypto.SshKeyPairGenerator sshKeyPairGenerator)
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.