Apply patch to fix FELIX-3389.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1299986 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/bnd-ipojo-plugin/src/main/java/org/apache/felix/ipojo/bnd/BndJarResourceStore.java b/ipojo/manipulator/bnd-ipojo-plugin/src/main/java/org/apache/felix/ipojo/bnd/BndJarResourceStore.java
index 24e1305..f90b5d3 100644
--- a/ipojo/manipulator/bnd-ipojo-plugin/src/main/java/org/apache/felix/ipojo/bnd/BndJarResourceStore.java
+++ b/ipojo/manipulator/bnd-ipojo-plugin/src/main/java/org/apache/felix/ipojo/bnd/BndJarResourceStore.java
@@ -24,7 +24,6 @@
import aQute.lib.osgi.Resource;
import aQute.libg.reporter.Reporter;
import org.apache.felix.ipojo.annotations.Component;
-import org.apache.felix.ipojo.annotations.Handler;
import org.apache.felix.ipojo.manipulator.Pojoization;
import org.apache.felix.ipojo.manipulator.ResourceStore;
import org.apache.felix.ipojo.manipulator.ResourceVisitor;
@@ -67,7 +66,7 @@
try {
// Only visit classes annotated with @Component or @Handler
- String annotations = Component.class.getName() + "|" + Handler.class.getName();
+ String annotations = Component.class.getPackage().getName() + ".*";
Collection<Clazz> classes = m_analyzer.getClasses("",
Clazz.QUERY.ANNOTATION.name(), annotations,