Convert mdsal-netconf-impl to OSGi DS
[netconf.git] / netconf / mdsal-netconf-impl / src / main / java / org / opendaylight / netconf / impl / mdsal / NetconfMapperAggregator.java
index 44c624fdd9dec69aab82317d5cd9ea52590f0edf..cf3637a13fe49423b40c72ad9ab564c196aeef88 100644 (file)
@@ -15,8 +15,10 @@ import org.osgi.service.component.annotations.Component;
 import org.osgi.service.component.annotations.Deactivate;
 
 @Component(service = { NetconfOperationServiceFactory.class, NetconfOperationServiceFactoryListener.class },
-           property = "type=mapper-aggregator-registry", immediate = true)
+           property = NetconfMapperAggregator.OSGI_TYPE, immediate = true)
 public final class NetconfMapperAggregator extends AggregatedNetconfOperationServiceFactory {
+    static final String OSGI_TYPE = "type=mapper-aggregator-registry";
+
     @Activate
     public NetconfMapperAggregator() {
         super();