blob: fbf41a439125ba621f5aa37773003db58514d890 [file] [log] [blame]
Andrea Campanella238d96e2016-01-20 11:52:02 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Andrea Campanella238d96e2016-01-20 11:52:02 -08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.driver;
18
19import org.apache.felix.scr.annotations.Component;
20import org.apache.felix.scr.annotations.Service;
Thomas Vachuska43de6ee2017-03-15 15:45:23 -070021import org.onosproject.net.driver.AbstractIndependentDriverLoader;
Andrea Campanella238d96e2016-01-20 11:52:02 -080022import org.onosproject.net.driver.DefaultDriverProviderService;
23
Andrea Campanella238d96e2016-01-20 11:52:02 -080024/**
Thomas Vachuska800a7a42016-02-16 16:11:13 -080025 * Loader for default device drivers.
Andrea Campanella238d96e2016-01-20 11:52:02 -080026 */
27@Service
28@Component(immediate = true)
Thomas Vachuska43de6ee2017-03-15 15:45:23 -070029public class DefaultDriversLoader extends AbstractIndependentDriverLoader
30 implements DefaultDriverProviderService {
Thomas Vachuska800a7a42016-02-16 16:11:13 -080031 public DefaultDriversLoader() {
32 super("/onos-drivers.xml");
Andrea Campanella238d96e2016-01-20 11:52:02 -080033 }
34}