Move BP xml to OSGI-INF
[bgpcep.git] / bgp / openconfig-rp-spi / src / main / resources / OSGI-INF / blueprint / bgp-openconfig-routing-policy-spi.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
4     <odl:specific-reference-list id="statementActivatorList"
5                                  interface="org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.registry.StatementProviderActivator"/>
6
7     <bean id="statementRegistry"
8           class="org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.registry.StatementRegistry">
9     </bean>
10
11     <bean id="statementProviderActivator"
12           class="org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.SimpleBGPStatementProviderActivator"
13           init-method="start" destroy-method="close">
14         <argument ref="statementRegistry"/>
15         <argument ref="statementActivatorList"/>
16     </bean>
17
18     <service ref="statementRegistry">
19         <interfaces>
20             <value>org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.registry.StatementRegistryProvider</value>
21             <value>org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.registry.StatementRegistryConsumer</value>
22         </interfaces>
23     </service>
24 </blueprint>