commit | 430b789140a9bc2062a024784633f9bc58ad0be1 | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Fri Jun 11 05:57:19 2010 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Fri Jun 11 05:57:19 2010 +0000 |
tree | fe5898a5b4643c8c454b80dcd6ebd814242050e4 | |
parent | 806fdc29eeb21e1a45d51059fe3855e86df8b5d7 [diff] |
Replaced destroy callback, by stop callback. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@953569 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/bundledependency/Consumer.java b/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/bundledependency/Consumer.java index 500ede3..64b9da0 100644 --- a/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/bundledependency/Consumer.java +++ b/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/bundledependency/Consumer.java
@@ -23,6 +23,7 @@ import org.apache.felix.dm.annotation.api.Start; import org.apache.felix.dm.annotation.api.BundleDependency; import org.apache.felix.dm.annotation.api.ServiceDependency; +import org.apache.felix.dm.annotation.api.Stop; import org.apache.felix.dm.test.bundle.annotation.sequencer.Sequencer; import org.osgi.framework.Bundle; @@ -58,8 +59,8 @@ m_sequencer.step(1); } - @Destroy - public void destroy() + @Stop + public void stop() { if (!m_added) {