org.jclouds.cloudstack.functions
Class StaticNATVirtualMachineInNetwork

java.lang.Object
  extended by org.jclouds.cloudstack.functions.StaticNATVirtualMachineInNetwork
All Implemented Interfaces:
com.google.common.base.Function<VirtualMachine,PublicIPAddress>

@Singleton
public class StaticNATVirtualMachineInNetwork
extends Object
implements com.google.common.base.Function<VirtualMachine,PublicIPAddress>

Author:
Adrian Cole

Nested Class Summary
static interface StaticNATVirtualMachineInNetwork.Factory
           
 
Field Summary
protected  Logger logger
           
 
Constructor Summary
StaticNATVirtualMachineInNetwork(CloudStackClient client, ReuseOrAssociateNewPublicIPAddress reuseOrAssociate, Network network)
           
 
Method Summary
 PublicIPAddress apply(VirtualMachine vm)
           
 
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
Constructor Detail

StaticNATVirtualMachineInNetwork

@Inject
public StaticNATVirtualMachineInNetwork(CloudStackClient client,
                                               ReuseOrAssociateNewPublicIPAddress reuseOrAssociate,
                                               Network network)
Method Detail

apply

public PublicIPAddress apply(VirtualMachine vm)
Specified by:
apply in interface com.google.common.base.Function<VirtualMachine,PublicIPAddress>


Copyright © 2009-2012 jclouds. All Rights Reserved.