Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / northbound / bundlescanner / implementation / src / main / java / org / opendaylight / controller / northbound / bundlescanner / internal / BundleScanServiceImpl.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.northbound.bundlescanner.internal;
9
10 import java.util.List;
11 import java.util.Set;
12
13 import org.opendaylight.controller.northbound.bundlescanner.IBundleScanService;
14 import org.osgi.framework.BundleContext;
15
16 public class BundleScanServiceImpl implements IBundleScanService {
17
18     public BundleScanServiceImpl() {}
19
20
21     @Override
22     public List<Class<?>> getAnnotatedClasses(BundleContext context,
23             String[] annotations,
24             Set<String> excludes,
25             boolean includeDependentBundleClasses)
26     {
27         return BundleScanner.getInstance().getAnnotatedClasses(
28                 context, annotations, excludes, includeDependentBundleClasses);
29     }
30
31 }