|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CallbackUtilities interface contains properties used for configuration in Shark.
Method Summary | |
void |
debug(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the DEBUG level. |
void |
debug(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the DEBUG level. |
void |
debug(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the DEBUG level. |
void |
debug(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the DEBUG level. |
void |
error(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the ERROR Level. |
void |
error(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the ERROR Level. |
void |
error(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the ERROR Level. |
void |
error(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the ERROR Level. |
java.util.Properties |
getProperties()
Returns all properties used for Shark configuration. |
java.lang.String |
getProperty(java.lang.String propertyName)
Returns value of property propertyName used for Shark configuration. |
java.lang.String |
getProperty(java.lang.String propertyName,
java.lang.String defaultValue)
Returns value of property propertyName used for Shark configuration. |
void |
info(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the INFO Level. |
void |
info(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the INFO Level. |
void |
info(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the INFO Level. |
void |
info(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the INFO Level. |
boolean |
isEnabled(WMSessionHandle shandle,
int level)
Returns if the specified logging level is enabled for the default channel. |
boolean |
isEnabled(WMSessionHandle shandle,
java.lang.String channel,
int level)
Returns if the specified logging level is enabled for the specified channel. |
void |
methodEnd(WMSessionHandle shandle,
long stamp,
java.lang.String location,
java.lang.Object o)
|
void |
methodEnd(WMSessionHandle shandle,
long stamp,
java.lang.String location,
java.lang.Object o,
java.lang.String channel)
|
long |
methodStart(WMSessionHandle shandle,
java.lang.String location)
|
void |
setProperties(java.util.Properties props)
Sets properties for Shark configuration. |
void |
warn(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the WARN Level. |
void |
warn(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the WARN Level. |
void |
warn(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the WARN Level. |
void |
warn(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the WARN Level. |
Method Detail |
public java.lang.String getProperty(java.lang.String propertyName)
propertyName
- property name.
public java.lang.String getProperty(java.lang.String propertyName, java.lang.String defaultValue)
propertyName
- property name.defaultValue
- default property value.
public java.util.Properties getProperties()
public void setProperties(java.util.Properties props)
props
- Properties object.public boolean isEnabled(WMSessionHandle shandle, int level) throws java.lang.Exception
java.lang.Exception
public boolean isEnabled(WMSessionHandle shandle, java.lang.String channel, int level) throws java.lang.Exception
java.lang.Exception
public void error(WMSessionHandle shandle, java.lang.String msg)
msg
- the message to log.public void error(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex)
msg
- the message to log.ex
- the exception to log, including its stack trace.public void error(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg)
channel
- the log channel to be used for logging.msg
- the message to log.public void error(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex)
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.public void warn(WMSessionHandle shandle, java.lang.String msg)
msg
- the message to log.public void warn(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex)
msg
- the message to log.ex
- the exception to log, including its stack trace.public void warn(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg)
channel
- the log channel to be used for logging.msg
- the message to log.public void warn(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex)
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.public void info(WMSessionHandle shandle, java.lang.String msg)
msg
- the message to log.public void info(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex)
msg
- the message to log.ex
- the exception to log, including its stack trace.public void info(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg)
channel
- the log channel to be used for logging.msg
- the message to log.public void info(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex)
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.public void debug(WMSessionHandle shandle, java.lang.String msg)
msg
- the message to log.public void debug(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex)
msg
- the message to log.ex
- the exception to log, including its stack trace.public void debug(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg)
channel
- the log channel to be used for logging.msg
- the message to log.public void debug(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex)
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.public long methodStart(WMSessionHandle shandle, java.lang.String location)
public void methodEnd(WMSessionHandle shandle, long stamp, java.lang.String location, java.lang.Object o)
public void methodEnd(WMSessionHandle shandle, long stamp, java.lang.String location, java.lang.Object o, java.lang.String channel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |