blob: b57ecf86a1fb295c568a86ea0d2ab4f125858c25 [file] [log] [blame]
Yuta HIGUCHI8c6e1942018-04-05 13:40:51 -07001/*
2 * Copyright 2018-present Open Networking Foundation
3 *
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 */
16package org.onosproject.drivers.odtn.impl;
17
Ray Milkeyd84f89b2018-08-17 14:54:17 -070018import org.osgi.service.component.annotations.Component;
Yuta HIGUCHI8c6e1942018-04-05 13:40:51 -070019import org.onosproject.net.driver.AbstractDriverLoader;
20import org.onosproject.odtn.behaviour.ConfigurableTransceiver;
21
Ramon Casellas03f194f2018-11-15 16:06:02 +010022
23import org.onosproject.net.optical.OpticalDevice;
24
Yuta HIGUCHI8c6e1942018-04-05 13:40:51 -070025@Component(immediate = true)
26public class OdtnDriversLoader extends AbstractDriverLoader {
27
Ramon Casellas03f194f2018-11-15 16:06:02 +010028 // OSGI: help bundle plugin discover runtime package dependency.
29 @SuppressWarnings("unused")
30 private OpticalDevice optical;
31
Yuta HIGUCHI8c6e1942018-04-05 13:40:51 -070032 // for injecting package dependencies for OSGi/BND
33 ConfigurableTransceiver transceiver;
34
35 public OdtnDriversLoader() {
36 super("/odtn-drivers.xml");
37 }
38}