public class CoverImageEndpoint
extends org.opencastproject.rest.AbstractJobProducerEndpoint
CoverImageService| Constructor and Description |
|---|
CoverImageEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext cc)
Callback from OSGi that is called when this service is activated.
|
javax.ws.rs.core.Response |
generateCoverImage(String xml,
String xsl,
String width,
String height,
String posterFlavor,
String targetFlavor) |
org.opencastproject.job.api.JobProducer |
getService() |
org.opencastproject.serviceregistry.api.ServiceRegistry |
getServiceRegistry() |
protected void |
setCoverImageService(org.opencastproject.coverimage.CoverImageService coverImageService)
OSGi callback to set the a reference to the cover image service.
|
protected void |
setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
OSGi callback to set the a reference to the service registry.
|
public org.opencastproject.job.api.JobProducer getService()
getService in class org.opencastproject.rest.AbstractJobProducerEndpointpublic org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
getServiceRegistry in class org.opencastproject.rest.AbstractJobProducerEndpointpublic javax.ws.rs.core.Response generateCoverImage(String xml, String xsl, String width, String height, String posterFlavor, String targetFlavor)
protected void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
serviceRegistry - the service registryprotected void setCoverImageService(org.opencastproject.coverimage.CoverImageService coverImageService)
coverImageService - protected void activate(org.osgi.service.component.ComponentContext cc)
cc - OSGi component contextCopyright © 2009–2020 Opencast Project. All rights reserved.