|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.sessions.SessionLogEntry
SessionLogEntry is a simple container object that holds all the information pertinent to a TopLink logging event. It has a date/time stamp indicating when the event took place. It holds the session, thread, and accessor responsible for the event. And it holds whatever message was passed through to be logged.
SessionLog
, DefaultSessionLog
, Serialized FormConstructor Summary | |
SessionLogEntry(oracle.toplink.publicinterface.Session session) PUBLIC: Create a new session log entry for a session |
|
SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.Exception exception) PUBLIC: Create a new session log entry for a session and an exception |
|
SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message) PUBLIC: Create a new session log entry for a session and a message |
|
SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message, oracle.toplink.internal.databaseaccess.Accessor connection) PUBLIC: Create a new session log entry for a session, a message and an accessor |
|
SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message, boolean isDebug) PUBLIC: Create a new session log entry for a session, a message and isDebug flag |
|
SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message, boolean isDebug, oracle.toplink.internal.databaseaccess.Accessor connection) PUBLIC: Create a new session log entry for a session, a message, isDebug flag and an accessor |
Method Summary | |
oracle.toplink.internal.databaseaccess.Accessor |
getConnection() PUBLIC: Return the connection that generated the log entry. |
java.util.Date |
getDate() PUBLIC: Return the date of the log entry. |
java.lang.Exception |
getException() PUBLIC: Return the exception that caused the log entry. |
java.lang.String |
getMessage() PUBLIC: Return the log entry's message. |
oracle.toplink.publicinterface.Session |
getSession() PUBLIC: Return the session that generated the log entry. |
java.lang.Thread |
getThread() PUBLIC: Return the thread that was active when the log entry was generated. |
boolean |
hasException() PUBLIC: Return if the log entry was for an exception. |
boolean |
isDebug() PUBLIC: Return if the log entry was for debugging purposes. |
void |
setConnection(oracle.toplink.internal.databaseaccess.Accessor connection) PUBLIC: Set the connection that generated the log entry. |
void |
setDate(java.util.Date date) PUBLIC: Set the date of the log entry. |
void |
setException(java.lang.Exception exception) PUBLIC: Set the exception that caused the log entry. |
void |
setIsDebug(boolean isDebug) PUBLIC: Set if the log entry was for debugging purposes. |
void |
setMessage(java.lang.String message) PUBLIC: Set the entry's message. |
void |
setSession(oracle.toplink.publicinterface.Session session) PUBLIC: Set the session that generated the log entry. |
void |
setThread(java.lang.Thread thread) PUBLIC: Set the thread that was active when the log entry was generated. |
java.lang.String |
toString() PUBLIC: Print message. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SessionLogEntry(oracle.toplink.publicinterface.Session session)
public SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.Exception exception)
public SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message)
public SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message, oracle.toplink.internal.databaseaccess.Accessor connection)
public SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message, boolean isDebug, oracle.toplink.internal.databaseaccess.Accessor connection)
public SessionLogEntry(oracle.toplink.publicinterface.Session session, java.lang.String message, boolean isDebug)
Method Detail |
public oracle.toplink.internal.databaseaccess.Accessor getConnection()
public java.util.Date getDate()
public java.lang.Exception getException()
public java.lang.String getMessage()
public oracle.toplink.publicinterface.Session getSession()
public java.lang.Thread getThread()
public boolean hasException()
public boolean isDebug()
public void setConnection(oracle.toplink.internal.databaseaccess.Accessor connection)
public void setDate(java.util.Date date)
public void setException(java.lang.Exception exception)
public void setIsDebug(boolean isDebug)
public void setMessage(java.lang.String message)
public void setSession(oracle.toplink.publicinterface.Session session)
public void setThread(java.lang.Thread thread)
public java.lang.String toString()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |