FELIX-5169 - inline constant from DA.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1724974 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java b/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java
index f158b8e..415f4cc 100644
--- a/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java
+++ b/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java
@@ -64,6 +64,8 @@
public static final String CONFIGURATION_ADMIN_FILTER_ATTRIBUTE = "filter";
private static final String LOCATION_PREFIX = "osgi-dp:";
+ /** FELIX-5169 - do not reference this constant from the Constants class in DA! */
+ private static final String EVENTTOPIC_COMPLETE = "org/osgi/service/deployment/COMPLETE";
// dependencies injected by Dependency Manager
private volatile LogService m_log;
@@ -156,7 +158,7 @@
m_log.log(LogService.LOG_DEBUG, "commit");
Dictionary properties = new Properties();
- properties.put(EventConstants.EVENT_TOPIC, org.apache.felix.deploymentadmin.Constants.EVENTTOPIC_COMPLETE);
+ properties.put(EventConstants.EVENT_TOPIC, EVENTTOPIC_COMPLETE);
m_component = m_dm.createComponent()
.setInterface(EventHandler.class.getName(), properties)
.setImplementation(this)