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

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

<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
<!--
Copyright © 2016 Orange 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="mountPointService" interface="org.opendaylight.mdsal.binding.api.MountPointService" />
    <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker" />

    <bean id="deviceTransactionManager" class="org.opendaylight.transportpce.common.device.DeviceTransactionManagerImpl"
          destroy-method="preDestroy" >
        <argument ref="mountPointService" />
        <argument value="15000" />
    </bean>

    <bean id="mappingUtils" class="org.opendaylight.transportpce.common.mapping.MappingUtilsImpl" >
        <argument ref="dataBroker" />
    </bean>

    <bean id="openRoadmInterfaces121" class="org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121" >
        <argument ref="deviceTransactionManager" />
    </bean>

    <bean id="openRoadmInterfaces221" class="org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl221" >
        <argument ref="deviceTransactionManager" />
        <argument ref="portMapping" />
        <argument ref="portMapping221" />
    </bean>

    <bean id="openRoadmInterfaces710" class="org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl710" >
        <argument ref="deviceTransactionManager" />
        <argument ref="portMapping" />
        <argument ref="portMapping710" />
    </bean>

    <bean id="openRoadmInterfaces" class="org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl" >
        <argument ref="deviceTransactionManager" />
        <argument ref="mappingUtils" />
        <argument ref="openRoadmInterfaces121" />
        <argument ref="openRoadmInterfaces221" />
        <argument ref="openRoadmInterfaces710" />
    </bean>

    <bean id="portMapping121" class="org.opendaylight.transportpce.common.mapping.PortMappingVersion121" >
        <argument ref="dataBroker" />
        <argument ref="deviceTransactionManager" />
    </bean>

    <bean id="portMapping221" class="org.opendaylight.transportpce.common.mapping.PortMappingVersion221" >
        <argument ref="dataBroker" />
        <argument ref="deviceTransactionManager" />
    </bean>

    <bean id="portMapping710" class="org.opendaylight.transportpce.common.mapping.PortMappingVersion710" >
        <argument ref="dataBroker" />
        <argument ref="deviceTransactionManager" />
    </bean>

    <bean id="requestProcessor" class="org.opendaylight.transportpce.common.network.RequestProcessor" scope="singleton" >
        <argument ref="dataBroker" />
    </bean>

    <bean id="networkTransactionImpl" class="org.opendaylight.transportpce.common.network.NetworkTransactionImpl">
        <argument ref="requestProcessor" />
    </bean>

    <bean id="portMapping" class="org.opendaylight.transportpce.common.mapping.PortMappingImpl" >
        <argument ref="dataBroker" />
        <argument ref="portMapping221" />
        <argument ref="portMapping121" />
        <argument ref="portMapping710" />
    </bean>

    <bean id="crossConnect121" class="org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl121" >
        <argument ref="deviceTransactionManager" />
    </bean>

    <bean id="crossConnect221" class="org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl221" >
        <argument ref="deviceTransactionManager" />
    </bean>

    <bean id="crossConnect710" class="org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl710" >
        <argument ref="deviceTransactionManager" />
    </bean>

    <bean id="crossConnectImpl" class="org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl" >
        <argument ref="deviceTransactionManager" />
        <argument ref="mappingUtils" />
        <argument ref="crossConnect121" />
        <argument ref="crossConnect221" />
        <argument ref="crossConnect710" />
    </bean>

    <service ref="deviceTransactionManager" interface="org.opendaylight.transportpce.common.device.DeviceTransactionManager" />

    <service ref="networkTransactionImpl" interface="org.opendaylight.transportpce.common.network.NetworkTransactionService" />

    <service ref="openRoadmInterfaces" interface="org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfaces" />

    <service ref="portMapping" interface="org.opendaylight.transportpce.common.mapping.PortMapping" />

    <service ref="crossConnectImpl" interface="org.opendaylight.transportpce.common.crossconnect.CrossConnect" />

    <service ref="mappingUtils" interface="org.opendaylight.transportpce.common.mapping.MappingUtils" />

</blueprint>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy