don't provide MetaTypeProvide along with a ManagedServiceFactory service
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@947626 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
index cbc6ac3..1937e4b 100644
--- a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
+++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
@@ -58,12 +58,8 @@
super(dm.createService()); // This service will be filtered by our super class, allowing us to take control.
Hashtable props = new Hashtable();
props.put(Constants.SERVICE_PID, factoryPid);
- String[] interfaces = new String[] {
- ManagedServiceFactory.class.getName(),
- MetaTypeProvider.class.getName()
- };
m_service
- .setInterface(interfaces, props)
+ .setInterface(ManagedServiceFactory.class.getName(), props)
.setImplementation(new MetaTypeAdapterImpl(factoryPid, update, propagate,
bctx, logger, heading, description,
localization, properyMetaData));