public class InventoryFactory
extends java.lang.Object
InventoryFactory is responsible for creating instances of services
contained inside the com.vmware.vcenter.inventory package and also has the subpackages reference
to access respective subpackage services.
| Modifier and Type | Method and Description |
|---|---|
Datastore |
datastoreService()
Returns an instance of class
Datastore |
static InventoryFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Network |
networkService()
Returns an instance of class
Network |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static InventoryFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory - StubFactory instance is responsible for creating stubsstubConfig - StubConfiguration instance is required to authenticate the requestInventoryFactory factory instancepublic void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)