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

OSGI-INF.blueprint.upgrade.xml Maven / Gradle / Ivy

There is a newer version: 0.14.0
Show newest version
<?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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy