public final class MediaPackageElementBuilderFactory extends Object
newInstance() to
obtain a reference to a concrete implementation of a MediaPackageElementBuilderFactory. This instance
can then be used to create or load media package elements.
The factory can be configured by specifying the concrete implementation class through the system property
org.opencastproject.mediapackage.elementbuilder.
| Constructor and Description |
|---|
MediaPackageElementBuilderFactory() |
| Modifier and Type | Method and Description |
|---|---|
MediaPackageElementBuilder |
newElementBuilder()
Factory method that returns an instance of a media package element builder.
|
static MediaPackageElementBuilderFactory |
newInstance()
Returns an instance of a MediaPackageElementBuilderFactory.
|
public static MediaPackageElementBuilderFactory newInstance() throws ConfigurationException
ConfigurationException - if the factory cannot be instantiatedpublic MediaPackageElementBuilder newElementBuilder() throws ConfigurationException
It uses the following ordered lookup procedure to determine which implementation of the
MediaPackageElementBuilder interface to use:
org.opencastproject.mediapackage.elementbuilder system property
ConfigurationException - If the builder cannot be instantiatedCopyright © 2009–2020 Opencast Project. All rights reserved.