Class CoverImageServiceOsgiImpl
java.lang.Object
org.opencastproject.job.api.AbstractJobProducer
org.opencastproject.coverimage.impl.AbstractCoverImageService
org.opencastproject.coverimage.impl.CoverImageServiceOsgiImpl
- All Implemented Interfaces:
org.opencastproject.coverimage.CoverImageService,org.opencastproject.job.api.JobProducer
Implementation of
AbstractCoverImageService for use in OSGi environment-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.coverimage.impl.AbstractCoverImageService
AbstractCoverImageService.Operation -
Field Summary
Fields inherited from class org.opencastproject.coverimage.impl.AbstractCoverImageService
COVERIMAGE_WORKSPACE_COLLECTION, organizationDirectoryService, securityService, serviceRegistry, userDirectoryService, workspaceFields inherited from class org.opencastproject.job.api.AbstractJobProducer
ACCEPT_JOB_LOADS_EXCEEDING_PROPERTY, acceptJobLoadsExeedingMaxLoad, DEFAULT_ACCEPT_JOB_LOADS_EXCEEDING, executor, jobTypeFields inherited from interface org.opencastproject.coverimage.CoverImageService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) OSGi activation callbackprotected org.opencastproject.security.api.OrganizationDirectoryServiceprotected org.opencastproject.security.api.SecurityServiceprotected org.opencastproject.serviceregistry.api.ServiceRegistryprotected org.opencastproject.security.api.UserDirectoryServiceprotected voidsetOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService) OSGi callback to set the organization directory serviceprotected voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService) OSGi callback to set the security serviceprotected voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) OSGi callback to set the service registry serviceprotected voidsetUserDirectoryService(org.opencastproject.security.api.UserDirectoryService userDirectoryService) OSGi callback to set the user directory serviceprotected voidsetWorkspace(org.opencastproject.workspace.api.Workspace workspace) OSGi callback to set the workspace service.Methods inherited from class org.opencastproject.coverimage.impl.AbstractCoverImageService
createTempFile, generateCoverImage, generateCoverImageInternal, parseXsl, process, rasterizeSvg, transformSvgMethods inherited from class org.opencastproject.job.api.AbstractJobProducer
acceptJob, countJobs, finallyUpdateJob, getJobType, incident, isReadyToAccept, isReadyToAcceptJobs
-
Constructor Details
-
CoverImageServiceOsgiImpl
public CoverImageServiceOsgiImpl()
-
-
Method Details
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) OSGi activation callback- Overrides:
activatein classorg.opencastproject.job.api.AbstractJobProducer- Parameters:
cc- the OSGi component context
-
setWorkspace
protected void setWorkspace(org.opencastproject.workspace.api.Workspace workspace) OSGi callback to set the workspace service.- Parameters:
workspace- the workspace service
-
setServiceRegistry
protected void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) OSGi callback to set the service registry service- Parameters:
serviceRegistry- the service registry service
-
setSecurityService
protected void setSecurityService(org.opencastproject.security.api.SecurityService securityService) OSGi callback to set the security service- Parameters:
securityService- the security service
-
setUserDirectoryService
protected void setUserDirectoryService(org.opencastproject.security.api.UserDirectoryService userDirectoryService) OSGi callback to set the user directory service- Parameters:
userDirectoryService- the user directory service
-
setOrganizationDirectoryService
protected void setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService) OSGi callback to set the organization directory service- Parameters:
organizationDirectoryService- the organization directory service
-
getServiceRegistry
protected org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()- Specified by:
getServiceRegistryin classorg.opencastproject.job.api.AbstractJobProducer
-
getSecurityService
protected org.opencastproject.security.api.SecurityService getSecurityService()- Specified by:
getSecurityServicein classorg.opencastproject.job.api.AbstractJobProducer
-
getUserDirectoryService
protected org.opencastproject.security.api.UserDirectoryService getUserDirectoryService()- Specified by:
getUserDirectoryServicein classorg.opencastproject.job.api.AbstractJobProducer
-
getOrganizationDirectoryService
protected org.opencastproject.security.api.OrganizationDirectoryService getOrganizationDirectoryService()- Specified by:
getOrganizationDirectoryServicein classorg.opencastproject.job.api.AbstractJobProducer
-