org.glassfish.virtualization.virtualbox
Class VBoxVirtualMachine
java.lang.Object
org.glassfish.virtualization.util.AbstractVirtualMachine
org.glassfish.virtualization.virtualbox.VBoxVirtualMachine
- All Implemented Interfaces:
- VirtualMachine
public class VBoxVirtualMachine
- extends AbstractVirtualMachine
Representation of a virtual machine in the VBox world.
- Author:
- Ludovic Champenois
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VBoxVirtualMachine
protected VBoxVirtualMachine(VirtualMachineConfig config,
VirtUser user,
Machine owner,
String name)
throws VirtException
- Throws:
VirtException
setAddress
public void setAddress(InetAddress address)
getAddress
public InetAddress getAddress()
executeOn
public String executeOn(String[] args)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
start
public void start()
throws VirtException
- Throws:
VirtException
stop
public void stop()
throws VirtException
- Throws:
VirtException
resume
public void resume()
throws VirtException
- Throws:
VirtException
suspend
public void suspend()
throws VirtException
- Throws:
VirtException
getName
public String getName()
delete
public void delete()
throws VirtException
- Throws:
VirtException
volumes
public Iterable<StorageVol> volumes()
throws VirtException
- Throws:
VirtException
getInfo
public VirtualMachineInfo getInfo()
getServerPool
public ServerPool getServerPool()
getMachine
public Machine getMachine()
Copyright © 2012. All Rights Reserved.