blob: f9f253291f35263e15f70fe6064b7939cf79afe0 [file] [log] [blame]
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
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 Vachuskae7ea6882016-07-22 10:22:46 -070023public interface DriverAdminService extends DriverService, BehaviourClassResolver {
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080024
25 /**
26 * Returns the set of driver providers currently registered.
27 *
28 * @return registered driver providers
29 */
30 Set<DriverProvider> getProviders();
31
32 /**
33 * Registers the specified driver provider.
34 *
35 * @param provider driver provider to register
36 */
37 void registerProvider(DriverProvider provider);
38
39 /**
40 * Unregisters the specified driver provider.
41 *
42 * @param provider driver provider to unregister
43 */
44 void unregisterProvider(DriverProvider provider);
45
46}