mirror of https://github.com/apache/jclouds.git
added image extension state checker to aws-ec2 module
This commit is contained in:
parent
129d827355
commit
5a8f0c1743
|
@ -55,8 +55,10 @@ import org.jclouds.ec2.compute.internal.EC2TemplateBuilderImpl;
|
|||
import org.jclouds.ec2.compute.loaders.CreateSecurityGroupIfNeeded;
|
||||
import org.jclouds.ec2.compute.loaders.LoadPublicIpForInstanceOrNull;
|
||||
import org.jclouds.ec2.compute.loaders.RegionAndIdToImage;
|
||||
import org.jclouds.ec2.compute.predicates.GetImageWhenStatusAvailablePredicateWithResult;
|
||||
import org.jclouds.ec2.domain.KeyPair;
|
||||
import org.jclouds.ec2.domain.RunningInstance;
|
||||
import org.jclouds.predicates.PredicateWithResult;
|
||||
import org.jclouds.predicates.RetryablePredicate;
|
||||
|
||||
import com.google.common.base.Function;
|
||||
|
@ -98,6 +100,8 @@ public class AWSEC2ComputeServiceDependenciesModule extends EC2ComputeServiceDep
|
|||
install(new FactoryModuleBuilder().build(CallForImages.Factory.class));
|
||||
bind(new TypeLiteral<ImageExtension>() {
|
||||
}).to(EC2ImageExtension.class);
|
||||
bind(new TypeLiteral<PredicateWithResult<String, Image>>() {
|
||||
}).to(GetImageWhenStatusAvailablePredicateWithResult.class);
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
|
Loading…
Reference in New Issue