public class ResourceFactory
extends java.lang.Object
ResourceFactory
is responsible for creating instances of services
contained inside the com.vmware.vapi.metadata.metamodel.resource package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
static ResourceFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Model |
modelService()
Returns an instance of class
Model |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static ResourceFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestResourceFactory
factory instancepublic void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)