public class HardwareFactory
extends java.lang.Object
HardwareFactory
is responsible for creating instances of services
contained inside the com.vmware.vcenter.vm.hardware package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
AdapterFactory |
adapter()
The
com.vmware.vcenter.vm.hardware.adapter package provides interfaces
for managing the configuration and state of the virtual adapters belonging to a
virtual machine. |
BootFactory |
boot()
The
com.vmware.vcenter.vm.hardware.boot package provides interfaces for
managing the virtual devices used to boot a virtual machine. |
Boot |
bootService()
Returns an instance of class
Boot |
Cdrom |
cdromService()
Returns an instance of class
Cdrom |
Cpu |
cpuService()
Returns an instance of class
Cpu |
Disk |
diskService()
Returns an instance of class
Disk |
Ethernet |
ethernetService()
Returns an instance of class
Ethernet |
Floppy |
floppyService()
Returns an instance of class
Floppy |
static HardwareFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Memory |
memoryService()
Returns an instance of class
Memory |
Parallel |
parallelService()
Returns an instance of class
Parallel |
Serial |
serialService()
Returns an instance of class
Serial |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static HardwareFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestHardwareFactory
factory instancepublic AdapterFactory adapter()
com.vmware.vcenter.vm.hardware.adapter
package provides interfaces
for managing the configuration and state of the virtual adapters belonging to a
virtual machine. This includes methods for reading and manipulating the
conifguration of USB adapters and host bus adapters.
Note that interfaces for adapters with no configurable properties or runtime state, such as IDE and PCI adapters, are omitted.
public BootFactory boot()
com.vmware.vcenter.vm.hardware.boot
package provides interfaces for
managing the virtual devices used to boot a virtual machine.public void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)