|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.adk.queue.IfsMessageProcessor
IfsMessageProcessor implements MessageProcessor interface and provides facility for logging messages into Queue agent's logfile.
Method Summary | |
void |
handleMessage(oracle.sql.ORAData message,
LibrarySession sess)
This throws an exception. |
void |
log(int level,
java.lang.String message)
Logs the specified message. |
void |
log(int level,
java.lang.String message,
java.lang.Throwable throwable)
Logs the specified message and throwable, as a single log entry. |
void |
log(int level,
java.lang.Throwable throwable)
Logs the specified throwable. |
void |
setServer(Server server)
Sets up the server (agent) that is using this class. |
Method Detail |
public void setServer(Server server) throws IfsException
setServer
in interface MessageProcessor
server
- handle to the agent objectIfsException
- if the operation failspublic void handleMessage(oracle.sql.ORAData message, LibrarySession sess) throws IfsException
handleMessage
in interface MessageProcessor
message
- message that needs to be processedsess
- handle to the LibrarySession to process messageIfsException
- if the opeeration failspublic void log(int level, java.lang.String message)
level
- the minimum logging level for the
message to be loggedmessage
- the messagepublic void log(int level, java.lang.Throwable throwable)
level
- the minimum logging level for the
message to be loggedthrowable
- the throwablepublic void log(int level, java.lang.String message, java.lang.Throwable throwable)
level
- the minimum logging level for the
message to be loggedmessage
- the messagethrowable
- the throwable
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |