Address @XmlSeeAlso limitation. Provide the ability to inject the JAXB types
[controller.git] / opendaylight / northbound / bundlescanner / implementation / src / main / java / org / opendaylight / controller / northbound / bundlescanner / internal / BundleScanServiceImpl.java
diff --git a/opendaylight/northbound/bundlescanner/implementation/src/main/java/org/opendaylight/controller/northbound/bundlescanner/internal/BundleScanServiceImpl.java b/opendaylight/northbound/bundlescanner/implementation/src/main/java/org/opendaylight/controller/northbound/bundlescanner/internal/BundleScanServiceImpl.java
new file mode 100644 (file)
index 0000000..ad6d8e9
--- /dev/null
@@ -0,0 +1,22 @@
+package org.opendaylight.controller.northbound.bundlescanner.internal;
+
+import java.util.List;
+
+import org.opendaylight.controller.northbound.bundlescanner.IBundleScanService;
+import org.osgi.framework.BundleContext;
+
+public class BundleScanServiceImpl implements IBundleScanService {
+
+    public BundleScanServiceImpl() {}
+
+
+    @Override
+    public List<Class<?>> getAnnotatedClasses(BundleContext context,
+            String[] annotations,
+            boolean includeDependentBundleClasses)
+    {
+        return BundleScanner.getInstance().getAnnotatedClasses(
+                context, annotations, includeDependentBundleClasses);
+    }
+
+}