Interface Browser4Plugin
-
- All Implemented Interfaces:
public interface Browser4PluginBase interface for Browser4 plugins.
A plugin is a self-contained module that provides additional functionality to Browser4. It can be loaded at runtime from the
plugins/directory.Implementations should also implement one or more PluginMount sub-interfaces to declare their integration points (e.g., BrowseEventMount, ToolMount).
Plugin JAR is discovered from the
plugins/directoryPlugin's auto-configuration classes are registered with Spring
Plugin beans are created by the Spring context
PluginMount beans are discovered and wired into their mount points
onStartup is called (post-context-refresh)
onShutdown is called (on context close)
-
-
Method Summary
Modifier and Type Method Description UnitonStartup()Called after the Spring context is fully refreshed and all mount points are wired. UnitonShutdown()Called when the application context is closing. abstract PluginManifestgetManifest()The plugin manifest, typically loaded from META-INF/browser4-plugin.json.-
-
Method Detail
-
onStartup
Unit onStartup()
Called after the Spring context is fully refreshed and all mount points are wired. Use this for any post-startup initialization that depends on other services being ready.
-
onShutdown
Unit onShutdown()
Called when the application context is closing. Use this to release resources, unregister handlers, etc.
-
getManifest
abstract PluginManifest getManifest()
The plugin manifest, typically loaded from
META-INF/browser4-plugin.json.
-
-
-
-