org.fcrepo.server.journal
Interface JournalWorker

All Superinterfaces:
Management
All Known Implementing Classes:
JournalConsumer, JournalCreator

public interface JournalWorker
extends Management

A common interface for the JournalConsumer and JournalCreator classes. These classes form the implementation layer between the Journaler and the ManagementDelegate.

Author:
Jim Blake

Method Summary
 void setManagementDelegate(ManagementDelegate delegate)
          Called by the Journaler during post-initialization, with a reference to the ManagementDelegate module.
 void shutdown()
          Called when the Journaler module receives a shutdown() from the server.
 
Methods inherited from interface org.fcrepo.server.management.Management
addDatastream, addRelationship, compareDatastreamChecksum, export, getDatastream, getDatastreamHistory, getDatastreams, getNextPID, getObjectXML, getRelationships, getTempStream, ingest, modifyDatastreamByReference, modifyDatastreamByValue, modifyObject, purgeDatastream, purgeObject, purgeRelationship, putTempStream, setDatastreamState, setDatastreamVersionable, validate
 

Method Detail

setManagementDelegate

void setManagementDelegate(ManagementDelegate delegate)
                           throws ModuleInitializationException
Called by the Journaler during post-initialization, with a reference to the ManagementDelegate module.

Throws:
ModuleInitializationException

shutdown

void shutdown()
              throws ModuleShutdownException
Called when the Journaler module receives a shutdown() from the server.

Throws:
ModuleShutdownException


Copyright © 2012 DuraSpace. All Rights Reserved.