Package org.opencastproject.mediapackage
Class MediaPackageBuilderFactory
java.lang.Object
org.opencastproject.mediapackage.MediaPackageBuilderFactory
Factory to retrieve instances of a media package builder. Use the static method
newInstance() to obtain a
reference to a concrete implementation of a MediaPackageBuilderFactory. This instance can then be used
to create or load media packages.
The factory can be configured by specifying the concrete implementation class through the system property
org.opencastproject.mediapackage.builder.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaPackageBuilderFactoryReturns an instance of a MediaPackageBuilderFactory.Factory method that returns an instance of a media package builder.
-
Field Details
-
PROPERTY_NAME
Name of the system property- See Also:
-
-
Method Details
-
newInstance
Returns an instance of a MediaPackageBuilderFactory.- Returns:
- the media package builder factory
- Throws:
ConfigurationException- if the factory cannot be instantiated
-
newMediaPackageBuilder
Factory method that returns an instance of a media package builder.It uses the following ordered lookup procedure to determine which implementation of the
MediaPackageBuilderinterface to use:- Implementation specified using the
org.opencastproject.mediapackage.buildersystem property - Platform default implementation
- Returns:
- the media package builder
- Throws:
ConfigurationException- If the builder cannot be instantiated
- Implementation specified using the
-