@Singleton public class CreateSecurityGroupIfNeeded extends Object implements com.google.common.base.Function<RegionSecurityGroupNameAndPorts,SecurityGroupInRegion>
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
protected NovaApi |
novaApi |
Constructor and Description |
---|
CreateSecurityGroupIfNeeded(NovaApi novaApi) |
Modifier and Type | Method and Description |
---|---|
SecurityGroupInRegion |
apply(RegionSecurityGroupNameAndPorts regionSecurityGroupNameAndPorts) |
@Named(value="jclouds.compute") protected Logger logger
protected final NovaApi novaApi
@Inject public CreateSecurityGroupIfNeeded(NovaApi novaApi)
public SecurityGroupInRegion apply(RegionSecurityGroupNameAndPorts regionSecurityGroupNameAndPorts)
apply
in interface com.google.common.base.Function<RegionSecurityGroupNameAndPorts,SecurityGroupInRegion>
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.