Class PasswordCredentialsFromWindowsInstance
- java.lang.Object
-
- org.jclouds.ec2.compute.functions.PasswordCredentialsFromWindowsInstance
-
- All Implemented Interfaces:
com.google.common.base.Function<RunningInstance,LoginCredentials>
,Function<RunningInstance,LoginCredentials>
@Singleton public class PasswordCredentialsFromWindowsInstance extends Object implements com.google.common.base.Function<RunningInstance,LoginCredentials>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PasswordCredentialsFromWindowsInstance(ConcurrentMap<RegionAndName,KeyPair> credentialsMap, EC2Api ec2Api, com.google.common.base.Function<PasswordDataAndPrivateKey,LoginCredentials> pwDataToLoginCredentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginCredentials
apply(RunningInstance instance)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Constructor Detail
-
PasswordCredentialsFromWindowsInstance
@Inject protected PasswordCredentialsFromWindowsInstance(ConcurrentMap<RegionAndName,KeyPair> credentialsMap, EC2Api ec2Api, com.google.common.base.Function<PasswordDataAndPrivateKey,LoginCredentials> pwDataToLoginCredentials)
-
-
Method Detail
-
apply
public LoginCredentials apply(RunningInstance instance)
- Specified by:
apply
in interfacecom.google.common.base.Function<RunningInstance,LoginCredentials>
- Specified by:
apply
in interfaceFunction<RunningInstance,LoginCredentials>
-
-