Package org.opencastproject.crop.remote
Class CropServiceRemoteImpl
java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.crop.remote.CropServiceRemoteImpl
- All Implemented Interfaces:
CropService
Remote implementation for
CropService-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase
RemoteBase.HttpClientClosingInputStream -
Field Summary
Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase
client, remoteServiceManager, serviceTypeFields inherited from interface org.opencastproject.crop.api.CropService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTakes the given track and returns the job that can be used to get the resulting mpeg7 catalogvoidsetRemoteServiceManager(ServiceRegistry serviceRegistry) Sets the remote service manager.voidsetTrustedHttpClient(TrustedHttpClient trustedHttpClient) Sets the trusted http clientMethods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, elementsFromHttpResponse, getResponse, getResponse, runRequest
-
Constructor Details
-
CropServiceRemoteImpl
public CropServiceRemoteImpl()
-
-
Method Details
-
crop
Description copied from interface:CropServiceTakes the given track and returns the job that can be used to get the resulting mpeg7 catalog- Specified by:
cropin interfaceCropService- Parameters:
track- track to crop- Returns:
- the job with which we can obtain the extracted metadata
- Throws:
CropException- if the track could not be croppedMediaPackageException- if the track is invalid
-
setTrustedHttpClient
Description copied from class:RemoteBaseSets the trusted http client- Overrides:
setTrustedHttpClientin classRemoteBase- Parameters:
trustedHttpClient-
-
setRemoteServiceManager
Description copied from class:RemoteBaseSets the remote service manager.- Overrides:
setRemoteServiceManagerin classRemoteBase- Parameters:
serviceRegistry-
-