changed package to org.apache.felix.dm.dependencies. Removed start/stop method which are not part of the API. The start/stop methods are now in org.apache.felix.dm.impl.dependencies.DependencyActivation interface
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@887382 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/Dependency.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/Dependency.java
index 0c2a23a..e22bc1f 100644
--- a/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/Dependency.java
+++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/Dependency.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.felix.dependencymanager;
+package org.apache.felix.dm.dependencies;
/**
* Generic dependency for a service. A dependency can be required or not.
@@ -55,22 +55,4 @@
* @return <code>true</code> if the dependency is instance bound
*/
public boolean isInstanceBound();
-
- /**
- * Starts tracking the dependency. This activates some implementation
- * specific mechanism to do the actual tracking. If the tracking discovers
- * that the dependency becomes available, it should call
- * <code>dependencyAvailable()</code> on the service.
- *
- * @param service the service that is associated with this dependency
- */
- public void start(DependencyService service);
-
- /**
- * Stops tracking the dependency. This deactivates the tracking. If the
- * dependency was available, the tracker should call
- * <code>dependencyUnavaible()</code> before stopping itself to ensure
- * that dependencies that aren't "active" are unavailable.
- */
- public void stop(DependencyService service);
}