Prevent ConfigPusher from killing its thread
[controller.git] / opendaylight / northbound / bundlescanner / implementation / src / main / java / org / opendaylight / controller / northbound / bundlescanner / internal / BundleScanServiceImpl.java
1 package org.opendaylight.controller.northbound.bundlescanner.internal;
2
3 import java.util.List;
4 import java.util.Set;
5
6 import org.opendaylight.controller.northbound.bundlescanner.IBundleScanService;
7 import org.osgi.framework.BundleContext;
8
9 public class BundleScanServiceImpl implements IBundleScanService {
10
11     public BundleScanServiceImpl() {}
12
13
14     @Override
15     public List<Class<?>> getAnnotatedClasses(BundleContext context,
16             String[] annotations,
17             Set<String> excludes,
18             boolean includeDependentBundleClasses)
19     {
20         return BundleScanner.getInstance().getAnnotatedClasses(
21                 context, annotations, excludes, includeDependentBundleClasses);
22     }
23
24 }