blob: 99152c6342a781546603d537bba8fe4ef6a4ba03 [file] [log] [blame]
Thomas Vachuska11b99fc2017-04-27 12:51:04 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
Thomas Vachuska11b99fc2017-04-27 12:51:04 -07003 *
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.net.driver;
17
Thomas Vachuskae6a57412017-08-23 14:09:14 -070018import org.onosproject.event.ListenerService;
19
Thomas Vachuska11b99fc2017-04-27 12:51:04 -070020import java.util.Set;
21
22/**
23 * Service for obtaining drivers and driver behaviour implementations.
24 */
Thomas Vachuskae6a57412017-08-23 14:09:14 -070025public interface DriverRegistry extends DriverPrimordialResolver, DriverResolver,
26 ListenerService<DriverEvent, DriverListener> {
Thomas Vachuska11b99fc2017-04-27 12:51:04 -070027
28 /**
29 * Returns the overall set of drivers being provided.
30 *
31 * @return provided drivers
32 */
33 Set<Driver> getDrivers();
34
35}