org.java.plugin.boot |
This package contains helper classes to start/stop JPF based applications.
The main class here is Boot that contains standard
entry point for Java applications - method
main(String[]). The
implemented boot sequence is following:
For details and supported configuration parameters see documentation for
corresponding classes.
Note that described scenario is quite common and can be customized and
changed in any point providing other implementations of key classes.
For a list of available configuration parameters see documentation for the
Boot (applicable to any scenario) and
DefaultApplicationInitializer
(applicable to scenario when this class being used) classes.
|
Java Source File Name | Type | Comment |
Application.java | Interface | This is "marker" interface to abstract an application that may be started
(and will stop itself upon user activity). |
ApplicationInitializer.java | Interface | Interface to plug custom code into JPF based application boot procedure. |
ApplicationPlugin.java | Class | This class is for "application" plug-ins - a JPF based program entry point. |
Boot.java | Class | Main class to get JPF based application running in different modes.
Application mode may be specified as jpf.boot.mode configuration
parameter or System property (via -Djpf.boot.mode= command line
argument). |
BootErrorHandler.java | Interface | Callback interface to handle boot-time application errors. |
BootErrorHandlerConsole.java | Class | Console out based error handler implementation, most suites good for
non-interactive service-style applications. |
BootErrorHandlerGui.java | Class | Standard boot error handler for GUI applications. |
ControlThread.java | Class | |
DefaultApplicationInitializer.java | Class | Default implementation of the application initializer interface.
Supported configuration parameters:
- org.java.plugin.boot.applicationPlugin
- ID of plug-in to start.
|
DefaultPluginsCollector.java | Class | Default implementation of plug-ins collector interface. |
ErrorDialog.java | Class | Helper class to display detailed message about application error. |
PluginsCollector.java | Interface | Interface to encapsulate logic for gathering information about available
plug-ins locations. |
ServiceApplication.java | Interface | This is "marker" interface to represent a service style application that
may be started and stopped. |
SplashHandler.java | Interface | Interface to control application splash screen. |
SplashWindow.java | Class | A Splash window.
Usage: MyApplication is your application class. |