Package org.onosproject.net.behaviour
Interface ExtensionSelectorResolver
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
@Beta public interface ExtensionSelectorResolver extends HandlerBehaviour
Provides access to the extension selectors implemented by this driver.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExtensionSelector
getExtensionSelector(ExtensionSelectorType type)
Gets an extension selector instance of the specified type, if supported by the driver.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
getExtensionSelector
ExtensionSelector getExtensionSelector(ExtensionSelectorType type)
Gets an extension selector instance of the specified type, if supported by the driver.- Parameters:
type
- type of extension to get- Returns:
- extension selector
- Throws:
java.lang.UnsupportedOperationException
- if the extension type is not supported by this driver
-
-