X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fbundlescanner%2Fimplementation%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnorthbound%2Fbundlescanner%2Finternal%2FBundleScanServiceImpl.java;fp=opendaylight%2Fnorthbound%2Fbundlescanner%2Fimplementation%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnorthbound%2Fbundlescanner%2Finternal%2FBundleScanServiceImpl.java;h=ad6d8e9a1754ccdac77fe2119a88ccf3b09f34b7;hb=feeeee8105b8f8262154d6c7d994fdbdb7eda1e2;hp=0000000000000000000000000000000000000000;hpb=e89176e4777c3511a60e6507628dfcb5e7046e3c;p=controller.git 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 index 0000000000..ad6d8e9a17 --- /dev/null +++ b/opendaylight/northbound/bundlescanner/implementation/src/main/java/org/opendaylight/controller/northbound/bundlescanner/internal/BundleScanServiceImpl.java @@ -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> getAnnotatedClasses(BundleContext context, + String[] annotations, + boolean includeDependentBundleClasses) + { + return BundleScanner.getInstance().getAnnotatedClasses( + context, annotations, includeDependentBundleClasses); + } + +}