OSGI-INF.blueprint.upgrade.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2018 Red Hat Inc. and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html --> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true"> <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/> <odl:clustered-app-config id="upgradeConfig" binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.serviceutils.upgrade.rev180702.UpgradeConfig" default-config-file-name="serviceutils-upgrade-config.xml" update-strategy="none"> </odl:clustered-app-config> <bean id="upgradeStateListener" class="org.opendaylight.serviceutils.upgrade.impl.UpgradeStateListener" destroy-method="close"> <argument ref="dataBroker"/> <argument ref="upgradeConfig"/> </bean> <service ref="upgradeStateListener" interface="org.opendaylight.serviceutils.upgrade.UpgradeState"/> </blueprint>