fedora.server.journal.entry
Class ConsumerJournalEntry

java.lang.Object
  extended by fedora.server.journal.entry.JournalEntry
      extended by fedora.server.journal.entry.ConsumerJournalEntry

public class ConsumerJournalEntry
extends JournalEntry

Title: ConsumerJournalEntry.java

Description: The JournalEntry to use when consuming a journal file. Before invoking a method, write the entry to the recovery log. After invoking the method, log a completion message.

Version:
$Id: ConsumerJournalEntry.java 6726 2008-03-03 20:04:05 +0000 (Mon, 03 Mar 2008) birkland $
Author:
jblake@cs.cornell.edu

Constructor Summary
ConsumerJournalEntry(java.lang.String methodName, JournalEntryContext context)
           
 
Method Summary
 java.lang.String getIdentifier()
           
 void invokeMethod(ManagementDelegate delegate, JournalRecoveryLog recoveryLog)
           
 void setIdentifier(java.lang.String identifier)
           
 java.lang.String toString()
           
 
Methods inherited from class fedora.server.journal.entry.JournalEntry
addArgument, addArgument, addArgument, addArgument, close, getArgumentsMap, getBooleanArgument, getContext, getDateArgument, getDSBindingMapArgument, getIntegerArgument, getMethod, getMethodName, getStreamArgument, getStringArgument, getStringArrayArgument, setRecoveryValue, setRecoveryValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsumerJournalEntry

public ConsumerJournalEntry(java.lang.String methodName,
                            JournalEntryContext context)
Method Detail

invokeMethod

public void invokeMethod(ManagementDelegate delegate,
                         JournalRecoveryLog recoveryLog)
                  throws ServerException,
                         JournalException
Throws:
ServerException
JournalException

setIdentifier

public void setIdentifier(java.lang.String identifier)

getIdentifier

public java.lang.String getIdentifier()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object