Class AnimateServiceRestEndpoint
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.animate.impl.endpoint.AnimateServiceRestEndpoint
A service endpoint to expose the
AnimateService via REST.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseReturns the job producer that is backing this REST endpoint.Return the service registry.voidsetAnimateService(AnimateService animateService) Sets the animate serviceprotected voidsetServiceRegistry(ServiceRegistry serviceRegistry) Callback from the OSGi declarative services to set the service registry.Methods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Constructor Details
-
AnimateServiceRestEndpoint
public AnimateServiceRestEndpoint()
-
-
Method Details
-
setServiceRegistry
Callback from the OSGi declarative services to set the service registry.- Parameters:
serviceRegistry- the service registry
-
setAnimateService
Sets the animate service- Parameters:
animateService- the animate service
-
animate
-
getService
Returns the job producer that is backing this REST endpoint.- Specified by:
getServicein classAbstractJobProducerEndpoint- Returns:
- the job producer
- See Also:
-
getServiceRegistry
Return the service registry.- Specified by:
getServiceRegistryin classAbstractJobProducerEndpoint- See Also:
-