Class AnimateServiceRestEndpoint
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.animate.impl.endpoint.AnimateServiceRestEndpoint
@Path("/animate")
public class AnimateServiceRestEndpoint
extends org.opencastproject.rest.AbstractJobProducerEndpoint
A service endpoint to expose the
AnimateService via REST.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Responseorg.opencastproject.job.api.JobProducerorg.opencastproject.serviceregistry.api.ServiceRegistryvoidsetAnimateService(org.opencastproject.animate.api.AnimateService animateService) Sets the animate serviceprotected voidsetServiceRegistry(org.opencastproject.serviceregistry.api.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
protected void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) Callback from the OSGi declarative services to set the service registry.- Parameters:
serviceRegistry- the service registry
-
setAnimateService
public void setAnimateService(org.opencastproject.animate.api.AnimateService animateService) Sets the animate service- Parameters:
animateService- the animate service
-
animate
-
getService
public org.opencastproject.job.api.JobProducer getService()- Specified by:
getServicein classorg.opencastproject.rest.AbstractJobProducerEndpoint- See Also:
-
getServiceRegistry
public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()- Specified by:
getServiceRegistryin classorg.opencastproject.rest.AbstractJobProducerEndpoint- See Also:
-