@Singleton public class CreateUniqueKey extends com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey>
Modifier and Type | Field and Description |
---|---|
protected JoyentCloudApi |
cloudApiApi |
protected Logger |
logger |
protected GroupNamingConvention.Factory |
namingConvention |
protected SshKeyPairGenerator |
sshKeyPairGenerator |
Constructor and Description |
---|
CreateUniqueKey(JoyentCloudApi cloudApiApi,
GroupNamingConvention.Factory namingConvention,
SshKeyPairGenerator sshKeyPairGenerator) |
Modifier and Type | Method and Description |
---|---|
KeyAndPrivateKey |
load(DatacenterAndName datacenterAndName) |
@Named(value="jclouds.compute") protected Logger logger
protected final JoyentCloudApi cloudApiApi
protected final GroupNamingConvention.Factory namingConvention
protected final SshKeyPairGenerator sshKeyPairGenerator
@Inject public CreateUniqueKey(JoyentCloudApi cloudApiApi, GroupNamingConvention.Factory namingConvention, SshKeyPairGenerator sshKeyPairGenerator)
public KeyAndPrivateKey load(DatacenterAndName datacenterAndName)
load
in class com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey>
Copyright © 2009-2013 jclouds. All Rights Reserved.