org.glassfish.virtualization.libvirt
Class LibVirtVirtualMachine
java.lang.Object
org.glassfish.virtualization.util.AbstractVirtualMachine
org.glassfish.virtualization.libvirt.LibVirtVirtualMachine
- All Implemented Interfaces:
- VirtualMachine
public class LibVirtVirtualMachine
- extends AbstractVirtualMachine
Representation of a virtual machine in the libvirt world.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibVirtVirtualMachine
protected LibVirtVirtualMachine(VirtualMachineConfig config,
VirtUser user,
Machine owner,
Domain domain,
List<StorageVol> storageVols)
throws VirtException
- Throws:
VirtException
setAddress
public void setAddress(InetAddress address)
getAddress
public InetAddress getAddress()
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
getInfo
public VirtualMachineInfo getInfo()
getServerPool
public ServerPool getServerPool()
getMachine
public Machine getMachine()
executeOn
public String executeOn(String[] args)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
Copyright © 2012. All Rights Reserved.