All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.crop.xml Maven / Gradle / Ivy

There is a newer version: 16.7
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<scr:components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0">
  <scr:component name="org.opencastproject.crop.impl.CropServiceImpl" immediate="true">
    <implementation class="org.opencastproject.crop.impl.CropServiceImpl" />
    <property name="service.description" value="Video Scale Service" />
    <service>
      <provide interface="org.opencastproject.crop.api.CropService" />
      <provide interface="org.osgi.service.cm.ManagedService" />
    </service>
    <reference name="serviceRegistry" interface="org.opencastproject.serviceregistry.api.ServiceRegistry"
               cardinality="1..1" policy="static" bind="setServiceRegistry" />
    <reference name="workspace" interface="org.opencastproject.workspace.api.Workspace" cardinality="1..1"
               policy="static" bind="setWorkspace" />
    <reference name="security-service" interface="org.opencastproject.security.api.SecurityService"
               cardinality="1..1" policy="static" bind="setSecurityService" />
    <reference name="user-directory" interface="org.opencastproject.security.api.UserDirectoryService"
               cardinality="1..1" policy="static" bind="setUserDirectoryService" />
    <reference name="orgDirectory" interface="org.opencastproject.security.api.OrganizationDirectoryService"
               cardinality="1..1" policy="static" bind="setOrganizationDirectoryService" />
  </scr:component>
  <scr:component name="org.opencastproject.crop.endpoint.CropRestEndpoint" immediate="true">
    <implementation class="org.opencastproject.crop.endpoint.CropRestEndpoint" />
    <property name="service.description" value="Video Crop REST Endpoint" />
    <property name="opencast.service.type" value="org.opencastproject.crop" />
    <property name="opencast.service.path" value="/crop" />
    <property name="opencast.service.jobproducer" value="true" />
    <service>
      <provide interface="org.opencastproject.crop.endpoint.CropRestEndpoint" />
    </service>
    <reference name="cropService" interface="org.opencastproject.crop.api.CropService"
               cardinality="1..1" policy="static" bind="setCropService" />
    <reference name="serviceRegistry" interface="org.opencastproject.serviceregistry.api.ServiceRegistry"
               cardinality="1..1" policy="static" bind="setServiceRegistry" />
  </scr:component>
</scr:components>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy