|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.monitor.AbstractMonitorEnabled de.bea.domingo.proxy.BaseProxy de.bea.domingo.proxy.LogProxy
public final class LogProxy
A notes Log.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.bea.domingo.proxy.BaseProxy |
---|
BaseProxy.DocumentCollectionIterator |
Field Summary |
---|
Fields inherited from class de.bea.domingo.proxy.BaseProxy |
---|
DATETIME_STRING_LENGTH, EMPTY_STRING, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES, RESOURCES |
Method Summary | |
---|---|
(package private) static DLog |
getInstance(NotesProxyFactory theFactory,
DSession session,
lotus.domino.Log theLog,
DNotesMonitor monitor)
Creates an notes log. |
void |
logAction(java.lang.String text)
Records an action in a log. |
void |
logError(int code,
java.lang.String text)
Records an error in a log. |
void |
openNotesLog(java.lang.String server,
java.lang.String database)
Opens a notes database as the log target. |
java.lang.String |
toString()
Returns a short description of an instance. |
Methods inherited from class de.bea.domingo.monitor.AbstractMonitorEnabled |
---|
getMonitor, setMonitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.bea.domingo.DBase |
---|
equals, hashCode |
Method Detail |
---|
static DLog getInstance(NotesProxyFactory theFactory, DSession session, lotus.domino.Log theLog, DNotesMonitor monitor)
theFactory
- the controlling factorysession
- the Notes SessiontheLog
- the Notes Logmonitor
- the monitor
public void logAction(java.lang.String text)
logAction
in interface DLog
text
- a description of the action, as you want it to appear in the log.DLog.logAction(java.lang.String)
public void logError(int code, java.lang.String text)
logError
in interface DLog
code
- a number indicating which error occurred.text
- a description of the error that occurred, as you want it to appear in the log.DLog.logError(int, java.lang.String)
public java.lang.String toString()
DBase
toString
in interface DBase
toString
in class java.lang.Object
Object.toString()
public void openNotesLog(java.lang.String server, java.lang.String database)
openNotesLog
in interface DLog
server
- notes server namedatabase
- notes database filenameDLog.openNotesLog(java.lang.String, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |