|
Right Java tools for J2EE, Web Service, Grid and more |
| |Home | Products | Documents | Downloads | Purchase | Support | Company | Partners | Contact | |
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface LogAgent
The LogAgent is the logging agent for other SuperComponents to use your
favorite logging system.
You can provide your implementation of LogAgent to use your
favorate logging, or no logging at all. Just simple put it
as the first part of CLASSPATH.
| Method Summary | |
|---|---|
void |
close()
Close LogAgnet and release all related resources. |
void |
log(java.lang.String text)
Log text as log message. |
void |
setModuleName(java.lang.String moduleName)
setModuleName setModuleName. |
void |
setTimeout(long timeout)
setTimeout set timeout. |
| Method Detail |
|---|
void close()
void log(java.lang.String text)
throws java.lang.Exception
text as log message.
text - The schedule event to bo logged.
java.lang.Exception
void setModuleName(java.lang.String moduleName)
throws java.lang.Exception
setModuleName setModuleName.
moduleName - The name of the calling module. Can either be SuperScheduler or
SuperWatchdog
java.lang.Exceptionvoid setTimeout(long timeout)
setTimeout set timeout. The default timeout is 15 seconds
timeout - The timeout for each call
|
Copyright Acelet Corporation. 2000-2008. All rights reserved. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||