|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.base.journal.DBJournal
public class DBJournal
DBJournal writes information about the activities of the
middleware into the database.
The information is stored in the database-table journal. An
instance of DBConnection is used for
handling the database-connection.
| Constructor Summary | |
|---|---|
DBJournal()
|
|
| Method Summary | |
|---|---|
void |
commit()
Commits the database. |
void |
log(char type,
XBUSSystem system,
Message message)
Writes a middleware-activity to the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBJournal()
| 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 JournalInterfacetype - 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()
throws XException
commit in interface JournalInterfaceXException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||