Package org.onosproject.net.driver
Interface DriverAdminService
-
- All Superinterfaces:
BehaviourClassResolver
,DriverPrimordialResolver
,DriverRegistry
,DriverResolver
,ListenerService<DriverEvent,DriverListener>
public interface DriverAdminService extends DriverRegistry, BehaviourClassResolver
Service for managing drivers and driver behaviour implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<DriverProvider>
getProviders()
Returns the set of driver providers currently registered.void
registerProvider(DriverProvider provider)
Registers the specified driver provider.void
unregisterProvider(DriverProvider provider)
Unregisters the specified driver provider.-
Methods inherited from interface org.onosproject.net.driver.BehaviourClassResolver
getBehaviourClass
-
Methods inherited from interface org.onosproject.net.driver.DriverPrimordialResolver
getDriver
-
Methods inherited from interface org.onosproject.net.driver.DriverRegistry
getDrivers
-
Methods inherited from interface org.onosproject.net.driver.DriverResolver
getDriver
-
Methods inherited from interface org.onosproject.event.ListenerService
addListener, removeListener
-
-
-
-
Method Detail
-
getProviders
Set<DriverProvider> getProviders()
Returns the set of driver providers currently registered.- Returns:
- registered driver providers
-
registerProvider
void registerProvider(DriverProvider provider)
Registers the specified driver provider.- Parameters:
provider
- driver provider to register
-
unregisterProvider
void unregisterProvider(DriverProvider provider)
Unregisters the specified driver provider.- Parameters:
provider
- driver provider to unregister
-
-