org.jclouds.ec2.compute.functions
Class CreateSecurityGroupIfNeeded

java.lang.Object
  extended by org.jclouds.ec2.compute.functions.CreateSecurityGroupIfNeeded
All Implemented Interfaces:
com.google.common.base.Function<RegionNameAndIngressRules,String>

@Singleton
public class CreateSecurityGroupIfNeeded
extends Object
implements com.google.common.base.Function<RegionNameAndIngressRules,String>

Author:
Adrian Cole

Field Summary
protected  EC2Client ec2Client
           
protected  Logger logger
           
 
Constructor Summary
CreateSecurityGroupIfNeeded(EC2Client ec2Client)
           
 
Method Summary
 String apply(RegionNameAndIngressRules from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger

ec2Client

protected final EC2Client ec2Client
Constructor Detail

CreateSecurityGroupIfNeeded

@Inject
public CreateSecurityGroupIfNeeded(EC2Client ec2Client)
Method Detail

apply

public String apply(RegionNameAndIngressRules from)
Specified by:
apply in interface com.google.common.base.Function<RegionNameAndIngressRules,String>


Copyright © 2009-2011 jclouds. All Rights Reserved.