OSGI-INF.blueprint.sfc-sb-rest.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0" xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" odl:use-default-for-reference-types="true"> <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker" odl:type="default" /> <cm:property-placeholder persistent-id="org.opendaylight.sfc.sbrest"> <cm:default-properties> <cm:property name="max-pool-size" value="10"/> <cm:property name="max-queue-size" value="1000"/> </cm:default-properties> </cm:property-placeholder> <bean id="executorService" class="org.opendaylight.yangtools.util.concurrent.SpecialExecutors" factory-method="newBlockingBoundedCachedThreadPool" destroy-method="shutdown"> <argument value="${max-pool-size}"/> <argument value="${max-queue-size}"/> <argument value="SbRestAbstractTask"/> <argument> <bean class="org.opendaylight.sfc.sbrest.provider.task.SbRestAbstractTask" factory-method="getLoggerClass"/> </argument> </bean> </blueprint>