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 5999 2007-04-05 17:23:10Z cwilper $
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)
           
 
Methods inherited from class fedora.server.journal.entry.JournalEntry
addArgument, addArgument, addArgument, addArgument, close, getArgumentsMap, getBooleanArgument, getContext, getDateArgument, getIntegerArgument, getMethod, getMethodName, getStreamArgument, getStringArgument, getStringArrayArgument, setRecoveryValue, setRecoveryValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()