|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.base.journal.FileJournal
public class FileJournal
FileJournal
writes information about the activities of the
middleware into a file.
Configuration:
Chapter | Section | Key | Content |
---|---|---|---|
Journal | FileJournal | Filename | Filename of the Journal. It is located under %XBUS_HOME%/log. |
Constructor Summary | |
---|---|
FileJournal()
|
Method Summary | |
---|---|
void |
commit()
Committing files is not necessary. |
void |
log(char type,
XBUSSystem system,
Message message)
Writes a middleware-activity into a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileJournal()
Method Detail |
---|
public void log(char type, XBUSSystem system, Message message) throws XException
The Configuration
stores, which
activities are written. All other activities are ignored.
log
in interface JournalInterface
type
- R: message has been received, S: message has
been sendsystem
- The name of the system, from which the message has been
received or where the message has been sent to.message
- The Message
-object that represents the data of
the message.
XException
public void commit()
commit
in interface JournalInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |