|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
lotus.domino.NotesThread
lotus.domino.AgentBase
de.bea.domingo.DAgentBase
DAgentBase instead
public abstract class DAgentBase
Domingo agents must extend DAgentBase and use run() as the entry point for their
functional code. Use {link #getDSession() getDSession()} to get a DSession
object. For output to browsers as well as Notes clients (the Java debug
console), create a PrintWriter object with
getAgentOutput().
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class lotus.domino.NotesThread |
|---|
dummyObj, isLoaded |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
DAgentBase()
Deprecated. Constructor. |
|
| Method Summary | |
|---|---|
void |
dbgMsg(java.lang.String message)
Deprecated. If debugging is enabled, send a debug message to System.out. |
void |
dbgMsg(java.lang.String message,
java.io.PrintStream out)
Deprecated. If debugging is enabled, send a debug message to the specified stream. |
void |
dbgMsg(java.lang.String message,
java.io.PrintWriter out)
Deprecated. If debugging is enabled, send a debug message to the specified writer. |
java.io.PrintWriter |
getAgentOutput()
Deprecated. Returns the output writer of the current agent. |
protected DSession |
getDSession()
Deprecated. Returns the Domingo session of the agent. |
DNotesMonitor |
getMonitor()
Deprecated. Returns the monitor of the current Domingo agent. |
lotus.domino.Session |
getSession()
Deprecated. use method getDSession() |
boolean |
isRestricted()
Deprecated. Checks if the current agent is a restricted agent or not. |
abstract void |
main()
Deprecated. main method to be implemented by concrete agents. |
void |
NotesMain()
Deprecated. |
void |
setDebug(boolean b)
Deprecated. Sets whether debugging is enabled or not for the current agent. |
void |
setTrace(boolean b)
Deprecated. Activates or deactivates tracing method calls of the JVM. |
| Methods inherited from class lotus.domino.AgentBase |
|---|
getAgentOutputStream, getAgentSession, runNotes, startup |
| Methods inherited from class lotus.domino.NotesThread |
|---|
finalize, getNativeThreadID, initThread, run, sinitThread, stermThread, termThread |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DAgentBase()
| Method Detail |
|---|
public abstract void main()
public final void NotesMain()
NotesMain in class lotus.domino.AgentBaseAgentBase.NotesMain()protected final DSession getDSession()
public final lotus.domino.Session getSession()
getSession in class lotus.domino.AgentBasepublic final DNotesMonitor getMonitor()
public final void dbgMsg(java.lang.String message,
java.io.PrintStream out)
dbgMsg in class lotus.domino.AgentBasemessage - the messageout - the output streamsetDebug(boolean)
public final void dbgMsg(java.lang.String message,
java.io.PrintWriter out)
dbgMsg in class lotus.domino.AgentBasemessage - the messageout - the output writersetDebug(boolean)public final void dbgMsg(java.lang.String message)
dbgMsg in class lotus.domino.AgentBasemessage - the messagesetDebug(boolean)public final java.io.PrintWriter getAgentOutput()
getAgentOutput in class lotus.domino.AgentBasepublic final boolean isRestricted()
isRestricted in class lotus.domino.AgentBasepublic final void setDebug(boolean b)
setDebug in class lotus.domino.AgentBaseb - true if debugging should be enabled, else falsepublic final void setTrace(boolean b)
setTrace in class lotus.domino.AgentBaseb - true to enable instruction tracing;
false to disable this feature.Runtime.traceMethodCalls(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||