added constructor so that whirr can use it

This commit is contained in:
Adrian Cole 2011-11-16 08:01:06 +02:00
parent 359f5d318b
commit fa4e7da19d
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ import org.jclouds.javax.annotation.Nullable;
*/ */
@Singleton @Singleton
public class EC2PopulateDefaultLoginCredentialsForImageStrategy extends ReturnCredentialsBoundToImage { public class EC2PopulateDefaultLoginCredentialsForImageStrategy extends ReturnCredentialsBoundToImage {
public EC2PopulateDefaultLoginCredentialsForImageStrategy() {
this(null);
}
@Inject @Inject
public EC2PopulateDefaultLoginCredentialsForImageStrategy(@Nullable @Named("image") Credentials creds) { public EC2PopulateDefaultLoginCredentialsForImageStrategy(@Nullable @Named("image") Credentials creds) {
super(creds); super(creds);