blob: 6263940c35bb6f5eaa9dc36524e88b9b9f1e48a5 [file] [log] [blame]
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -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 */
16package org.onosproject.net.driver;
17
18import java.util.Set;
19
20/**
21 * Service for managing drivers and driver behaviour implementations.
22 */
Thomas Vachuska11b99fc2017-04-27 12:51:04 -070023public interface DriverAdminService
24 extends DriverRegistry, BehaviourClassResolver {
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080025
26 /**
27 * Returns the set of driver providers currently registered.
28 *
29 * @return registered driver providers
30 */
31 Set<DriverProvider> getProviders();
32
33 /**
34 * Registers the specified driver provider.
35 *
36 * @param provider driver provider to register
37 */
38 void registerProvider(DriverProvider provider);
39
40 /**
41 * Unregisters the specified driver provider.
42 *
43 * @param provider driver provider to unregister
44 */
45 void unregisterProvider(DriverProvider provider);
46
47}