public class ContentFactory
extends java.lang.Object
ContentFactory is responsible for creating instances of services
contained inside the com.vmware.content package and also has the subpackages reference
to access respective subpackage services.
| Modifier and Type | Method and Description |
|---|---|
Configuration |
configurationService()
Returns an instance of class
Configuration |
static ContentFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
LibraryFactory |
library()
The Content Library package provides classes and interfaces for defining and
managing the library's items, subscription, publication, and storage.
|
Library |
libraryService()
Returns an instance of class
Library |
LocalLibrary |
localLibraryService()
Returns an instance of class
LocalLibrary |
SubscribedLibrary |
subscribedLibraryService()
Returns an instance of class
SubscribedLibrary |
Type |
typeService()
Returns an instance of class
Type |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static ContentFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory - StubFactory instance is responsible for creating stubsstubConfig - StubConfiguration instance is required to authenticate the requestContentFactory factory instancepublic Configuration configurationService()
Configurationpublic LocalLibrary localLibraryService()
LocalLibrarypublic SubscribedLibrary subscribedLibraryService()
SubscribedLibrarypublic LibraryFactory library()
public void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)