Class UiPluginService
java.lang.Object
com.kosdev.kos.core.service.ui.plugin.UiPluginService
Centralized service that provides discoverability of browser based
ui plugins.
- Since:
- 9
- Version:
- 9
-
Method Summary
Modifier and TypeMethodDescriptionvoidmount(UiPluginContext ctx) Register aUiPluginContextwith the service.voidunmount(UiPluginContext ctx) Unregister aUiPluginContextfrom the service.
-
Method Details
-
mount
Register aUiPluginContextwith the service. This will make the context available in the VFS and discoverable via associated endpoints. Contexts must be unmounted in order for them to be removed from the VFS and garbage collected.The context will be mounted to a directory with the name of the context. This means that every context must have a unique name.
- Parameters:
ctx- the context to mount- Since:
- 9
-
unmount
Unregister aUiPluginContextfrom the service. This will unmount the context and allow it to be garbage collected.- Parameters:
ctx- the context to unmount- Since:
- 9
-