Package org.opencastproject.mediapackage
Class MediaPackageElementBuilderFactory
java.lang.Object
org.opencastproject.mediapackage.MediaPackageElementBuilderFactory
Factory to retreive instances of a media package element builder. Use the static method
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFactory method that returns an instance of a media package element builder.Returns an instance of a MediaPackageElementBuilderFactory.
-
Constructor Details
-
MediaPackageElementBuilderFactory
public MediaPackageElementBuilderFactory()
-
-
Method Details
-
newInstance
Returns an instance of a MediaPackageElementBuilderFactory.- Returns:
- the media package element builder factory
- Throws:
ConfigurationException- if the factory cannot be instantiated
-
newElementBuilder
Factory method that returns an instance of a media package element builder.It uses the following ordered lookup procedure to determine which implementation of the
MediaPackageElementBuilderinterface to use:- Implementation specified using the
org.opencastproject.mediapackage.elementbuildersystem property - Platform default implementation
- Returns:
- the media package element builder
- Throws:
ConfigurationException- If the builder cannot be instantiated
- Implementation specified using the
-