public interface Extension
ExtensionName
Modifier and Type | Method and Description |
---|---|
void |
install(DockController controller)
Informs this extension that it will now be used for
controller . |
<E> Collection<E> |
load(DockController controller,
ExtensionName<E> extension)
Loads a set of extensions, it is the
Extension s responsibility to implement any
kind of caching. |
void |
uninstall(DockController controller)
Informs this extension that it will no longer be used for
controller . |
void install(DockController controller)
controller
.controller
- a new controller for which this extension is usedvoid uninstall(DockController controller)
controller
.controller
- the controller for which this extension was used<E> Collection<E> load(DockController controller, ExtensionName<E> extension)
Extension
s responsibility to implement any
kind of caching.E
- the kind of extension that is requestedcontroller
- the controller in whose realm the extension will be usedextension
- the unique name of the extensionnull