Fixed isAutoConfig, which must return false, instead of true. Don't invoke any callbacks.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1086720 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ToggleServiceDependency.java b/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ToggleServiceDependency.java
index cfa0ad9..00e32f9 100644
--- a/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ToggleServiceDependency.java
+++ b/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ToggleServiceDependency.java
@@ -119,32 +119,19 @@
 
     public void invokeAdded(DependencyService service)
     {
-        invoke(service, "added");
     }
 
     public void invokeRemoved(DependencyService service)
     {
-        invoke(service, "removed");
     }
 
     public void invoke(DependencyService dependencyService, String name)
     {
-        if (name != null)
-        {
-            dependencyService.invokeCallbackMethod(getCallbackInstances(dependencyService), name,
-                                                   new Class[][] { { String.class }, { Object.class }, {} },
-                                                   new Object[][] { { getAutoConfigInstance() }, { getAutoConfigInstance() }, {} });
-        }
-    }
-
-    private synchronized Object[] getCallbackInstances(DependencyService dependencyService)
-    {
-        return dependencyService.getCompositionInstances();
     }
 
     public boolean isAutoConfig()
     {
-        return true;
+        return false;
     }
 
     public boolean isAvailable()