|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface InnovatorApplication
Every Java application that should be run as an Innovator application should commit to this interface.
| Method Summary | |
|---|---|
void |
info(String msg,
Object... args)
Protocols any messages at info level. |
void |
log(Level l,
String msg,
Object... args)
Protocols any messages. |
void |
msg(String key,
Object... args)
Should be called to show the application user an NLS message. |
void |
onExit()
Performs a clean up. |
void |
onInit()
Initializes the application or provides attribute values that can control the behavior during initialization. |
void |
run()
Contains the real work the application does. |
String |
Usage()
|
void |
warning(String key,
Object... args)
Shows the application user a warning message. |
| Method Detail |
|---|
void info(String msg,
Object... args)
msg - a message that can contain message format variablesargs - the arguments for the message format
void log(Level l,
String msg,
Object... args)
l - the logging levelmsg - a message that can contain message format variablesargs - the arguments for the message format
void msg(String key,
Object... args)
key - a property file's message keyargs - the arguments for the message formatvoid onExit()
void onInit()
void run()
throws InoNlsException
InoNlsException - If anything happens that causes the application to stop.String Usage()
void warning(String key,
Object... args)
key - a property file's message keyargs - the arguments for the message format
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||