public class UpdateFactory
extends java.lang.Object
UpdateFactory is responsible for creating instances of services
contained inside the com.vmware.appliance.update package and also has the subpackages reference
to access respective subpackage services.
| Modifier and Type | Method and Description |
|---|---|
static UpdateFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Pending |
pendingService()
Returns an instance of class
Pending |
Policy |
policyService()
Returns an instance of class
Policy |
Staged |
stagedService()
Returns an instance of class
Staged |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static UpdateFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory - StubFactory instance is responsible for creating stubsstubConfig - StubConfiguration instance is required to authenticate the requestUpdateFactory factory instancepublic void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)