|
JPF 0.10 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to plug custom code into JPF based application boot procedure. The implementation should contain logic on configuring and initializing (but not starting) application.
Method Summary | |
void |
configure(ExtendedProperties config)
Configures this initializer instance, this method will be called once before any other method call in this class. |
Application |
initApplication(BootErrorHandler errorHandler,
java.lang.String[] args)
This method should configure and initialize an application instance to be started. |
Method Detail |
public void configure(ExtendedProperties config) throws java.lang.Exception
config
- application configuration data from
boot.properties
file and System
properties as defaults
java.lang.Exception
- if any error has occurred during initializer
configuringpublic Application initApplication(BootErrorHandler errorHandler, java.lang.String[] args) throws java.lang.Exception
errorHandler
- callback interface to report errors to the user,
it is recommended to use this handler only for
"non-fatal" errors and ask user via
BootErrorHandler.handleError(String, Exception)
or BootErrorHandler.handleError(String, org.java.plugin.registry.IntegrityCheckReport)
if he wants to abort application boot processargs
- command line arguments as they passed to program
main
method
null
if
initializing failed
java.lang.Exception
- if any error has occurred during application
initializing
|
JPF 0.10 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |