blob: d292aa6aa6a23a9d6ae784dfae013f6817d46513 [file] [log] [blame]
Andrea Campanella238d96e2016-01-20 11:52:02 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
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
Thomas Vachuska43de6ee2017-03-15 15:45:23 -070019import org.onosproject.net.driver.AbstractIndependentDriverLoader;
Andrea Campanella238d96e2016-01-20 11:52:02 -080020import org.onosproject.net.driver.DefaultDriverProviderService;
Ray Milkeyd84f89b2018-08-17 14:54:17 -070021import org.osgi.service.component.annotations.Component;
Andrea Campanella238d96e2016-01-20 11:52:02 -080022
Andrea Campanella238d96e2016-01-20 11:52:02 -080023/**
Thomas Vachuska800a7a42016-02-16 16:11:13 -080024 * Loader for default device drivers.
Andrea Campanella238d96e2016-01-20 11:52:02 -080025 */
Ray Milkeyd84f89b2018-08-17 14:54:17 -070026@Component(immediate = true, service = DefaultDriversLoader.class)
Thomas Vachuska43de6ee2017-03-15 15:45:23 -070027public class DefaultDriversLoader extends AbstractIndependentDriverLoader
28 implements DefaultDriverProviderService {
Thomas Vachuska800a7a42016-02-16 16:11:13 -080029 public DefaultDriversLoader() {
30 super("/onos-drivers.xml");
Andrea Campanella238d96e2016-01-20 11:52:02 -080031 }
32}