org.opendaylight.blueprint.cardinal-impl.xml Maven / Gradle / Ivy
The newest version!
<?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" odl:use-default-for-reference-types="true"> <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/> <bean id="snmpAgent" class="org.opendaylight.cardinal.impl.Agent" scope="singleton" init-method="init" destroy-method="close"/> <service interface="org.opendaylight.cardinal.api.SnmpMibService"> <bean class="org.opendaylight.cardinal.impl.SnmpMibServiceImpl"> <argument ref="snmpAgent"/> </bean> </service> <bean id="trapAddressChangeHandle" class="org.opendaylight.cardinal.impl.TrapAddressChangeHandler" scope="singleton"> <argument ref="snmpAgent"/> <argument ref="dataBroker"/> </bean> <bean id="cardinalProvider" class="org.opendaylight.cardinal.impl.CardinalProvider" init-method="init" destroy-method="close"> <argument ref="dataBroker"/> </bean> </blueprint>