Added a blueprint XML file to instantiate and advertise the
DOMClusterSingletonServiceProviderImpl instance.
Change-Id: I768aae041b5a33d37c21505c7debab77e7dd9c1a
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
- <Export-Package>
- org.opendaylight.mdsal.singleton.dom.impl
- </Export-Package>
- </instructions>
- </configuration>
</plugin>
</plugins>
</build>
--- /dev/null
+<?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">
+
+ <!-- DOMClusterSingletonServiceProvider -->
+
+ <reference id="domEntityOwnershipService" interface="org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService"/>
+
+ <bean id="domClusterSingletonService" class="org.opendaylight.mdsal.singleton.dom.impl.DOMClusterSingletonServiceProviderImpl"
+ init-method="initializeProvider" destroy-method="close">
+ <argument ref="domEntityOwnershipService"/>
+ </bean>
+
+ <service ref="domClusterSingletonService" interface="org.opendaylight.mdsal.singleton.dom.api.DOMClusterSingletonServiceProvider"
+ odl:type="default"/>
+</blueprint>