net.sf.xbus.base.journal
Interface JournalInterface

All Known Implementing Classes:
DBJournal, FileJournal

public interface JournalInterface

Interface for classes which write information about the activities of the middleware.


Method Summary
 void commit()
          Commits the entry.
 void log(char type, XBUSSystem system, Message message)
          Writes a middleware-activity.
 

Method Detail

log

void log(char type,
         XBUSSystem system,
         Message message)
         throws XException
Writes a middleware-activity.

The Configuration stores, which activities are written. All other activities are ignored.

Parameters:
type - R: message has been received, S: message has been send
system - 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.
Throws:
XException

commit

void commit()
            throws XException
Commits the entry.

Throws:
XException