|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Extension
An extension provides a set of resources that override existing resources. The
resources are acquired lazily.
New extensions will be added to the framework when needed or upon request.
ExtensionName| Method Summary | ||
|---|---|---|
void |
install(DockController controller)
Informs this extension that it will now be used for controller. |
|
|
load(DockController controller,
ExtensionName<E> extension)
Loads a set of extensions, it is the Extensions responsibility to implement any
kind of caching. |
|
void |
uninstall(DockController controller)
Informs this extension that it will no longer be used for controller. |
|
| Method Detail |
|---|
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)
Extensions 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 extension
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||