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

OSGI-INF.blueprint.cluster-provider-wiring.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2020 Lumina Networks, Inc. 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:type="default" />
    <reference id="domDataBroker" interface="org.opendaylight.mdsal.dom.api.DOMDataBroker" />
    <reference id="domMountPointService" interface="org.opendaylight.mdsal.dom.api.DOMMountPointService" />
    <reference id="schemaService" interface="org.opendaylight.mdsal.dom.api.DOMSchemaService" />
    <reference id="transportFactory" interface="org.opendaylight.jsonrpc.bus.messagelib.TransportFactory" />
    <reference id="domRpcService" interface="org.opendaylight.mdsal.dom.api.DOMRpcService" />
    <reference id="domNotificationPublishService" interface="org.opendaylight.mdsal.dom.api.DOMNotificationPublishService" />
    <reference id="yangXPathParserFactory" interface="org.opendaylight.yangtools.yang.xpath.api.YangXPathParserFactory" />
    <reference id="clusterSingletonServiceProvider" interface="org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider" />
    <reference id="rpcProviderService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService" />
    <reference id="actorSystemProvider" interface="org.opendaylight.controller.cluster.ActorSystemProvider" />
    <reference id="governanceProvider" interface="org.opendaylight.jsonrpc.model.GovernanceProvider" />

    <odl:clustered-app-config id="singletonConfig"
        binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.jsonrpc.cluster.provider.config.rev200708.Config" />

    <bean id="actorSystem" factory-ref="actorSystemProvider" factory-method="getActorSystem" />

    <bean id="dependencies" class="org.opendaylight.jsonrpc.provider.cluster.impl.ClusterDependencies">
        <argument ref="transportFactory" />
        <argument ref="dataBroker" />
        <argument ref="domMountPointService" />
        <argument ref="domDataBroker" />
        <argument ref="schemaService" />
        <argument ref="domNotificationPublishService" />
        <argument ref="domRpcService" />
        <argument ref="yangXPathParserFactory" />
        <argument ref="actorSystem" />
        <argument ref="clusterSingletonServiceProvider" />
        <argument ref="governanceProvider" />
        <argument ref="rpcProviderService" />
        <argument ref="singletonConfig" />
    </bean>

    <bean id="provider" class="org.opendaylight.jsonrpc.provider.cluster.impl.JsonRpcPeerListManager">
        <argument ref="dependencies" />
    </bean>
</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy