OSGI-INF.serviceComponents.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0"> <scr:component enabled="true" immediate="true" name="org.apache.sling.commons.scheduler.impl.QuartzScheduler"> <implementation class="org.apache.sling.commons.scheduler.impl.QuartzScheduler"/> <service servicefactory="false"> <provide interface="org.apache.sling.commons.scheduler.Scheduler"/> </service> <property name="poolName"/> <property name="service.vendor" type="String" value="The Apache Software Foundation"/> <property name="service.pid" value="org.apache.sling.commons.scheduler.impl.QuartzScheduler"/> <reference name="job" interface="org.apache.sling.commons.scheduler.Job" cardinality="0..n" policy="dynamic" bind="bindJob" unbind="unbindJob"/> <reference name="task" interface="java.lang.Runnable" cardinality="0..n" policy="dynamic" bind="bindTask" unbind="unbindTask"/> <reference name="threadPoolManager" interface="org.apache.sling.commons.threads.ThreadPoolManager" cardinality="1..1" policy="static" bind="bindThreadPoolManager" unbind="unbindThreadPoolManager"/> </scr:component> </components>