OSGI-INF.asset-manager-rest.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2009, 2010 The Regents of the University of California ~ Licensed under the Educational Community License, Version 2.0 ~ (the "License"); you may not use this file except in compliance ~ with the License. You may obtain a copy of the License at ~ ~ http://www.osedu.org/licenses/ECL-2.0 ~ ~ Unless required by applicable law or agreed to in writing, ~ software distributed under the License is distributed on an "AS IS" ~ BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express ~ or implied. See the License for the specific language governing ~ permissions and limitations under the License. --> <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="org.opencastproject.assetmanager.impl.endpoint.OsgiAssetManagerRestEndpoint"> <implementation class="org.opencastproject.assetmanager.impl.endpoint.OsgiAssetManagerRestEndpoint"/> <property name="service.description" value="AssetManager REST Endpoint"/> <property name="opencast.service.type" value="org.opencastproject.assetmanager"/> <property name="opencast.service.path" value="/assets"/> <property name="opencast.service.jobproducer" value="true"/> <service> <!-- Needed for the RestPublisher to pick up the service. --> <provide interface="org.opencastproject.assetmanager.impl.endpoint.OsgiAssetManagerRestEndpoint"/> </service> <reference name="asset-manager" interface="org.opencastproject.assetmanager.api.AssetManager" cardinality="1..1" policy="static" bind="setAssetManager"/> <reference name="job-producer" interface="org.opencastproject.assetmanager.impl.AssetManagerJobProducer" cardinality="1..1" policy="static" bind="setJobProducer"/> <reference name="service-registry" interface="org.opencastproject.serviceregistry.api.ServiceRegistry" cardinality="1..1" policy="static" bind="setServiceRegistry"/> </scr:component>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy