@Singleton public class CreateUniqueKey extends com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey>
Modifier and Type | Field and Description |
---|---|
protected Crypto |
crypto |
protected Logger |
logger |
protected GroupNamingConvention.Factory |
namingConvention |
protected SDCClient |
sdcClient |
protected javax.inject.Provider<SecureRandom> |
secureRandom |
Constructor and Description |
---|
CreateUniqueKey(SDCClient sdcClient,
GroupNamingConvention.Factory namingConvention,
Crypto crypto,
javax.inject.Provider<SecureRandom> secureRandom) |
Modifier and Type | Method and Description |
---|---|
KeyAndPrivateKey |
load(DatacenterAndName datacenterAndName) |
@Named(value="jclouds.compute") protected Logger logger
protected final SDCClient sdcClient
protected final GroupNamingConvention.Factory namingConvention
protected final Crypto crypto
protected final javax.inject.Provider<SecureRandom> secureRandom
@Inject public CreateUniqueKey(SDCClient sdcClient, GroupNamingConvention.Factory namingConvention, Crypto crypto, javax.inject.Provider<SecureRandom> secureRandom)
public KeyAndPrivateKey load(DatacenterAndName datacenterAndName)
load
in class com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey>
Copyright © 2009-2012 jclouds. All Rights Reserved.