|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listens on state change events and notifies interested parties of events by writing event information into the specified log. For example:
EbiLogStateChangeListener listener = com.sssw.fw.event.factory.EboFactory.getLogStateChangeListener(); listener.setLogLevel(com.sssw.fw.api.EbiLog.INFO_LEVEL); listener.setPreamble("The following event has occurred:"); producer.addStateChangeListener(listener);
Method Summary | |
int |
getLogLevel()
Gets the log level at which the event information should be written to the log. |
String |
getPreamble()
Gets any preamble message to print before the verbose description of the event. |
void |
setLogLevel(int level)
Sets the log level at which the event information should be written to the log. |
void |
setPreamble(String preamble)
Sets any preamble message to print before the verbose description of the event. |
Methods implemented from interface com.sssw.fw.event.api.EbiStateChangeListener |
stateChanged |
Methods implemented from interface com.sssw.fw.event.api.EbiEventListener |
getListenerDescription,
getLog,
setListenerDescription,
setLog |
Method Detail |
public void setPreamble(String preamble)
preamble
- any preamble messagepublic String getPreamble()
public void setLogLevel(int level)
level
- the log level at which the event information should be
written to the logpublic int getLogLevel()
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |