| Package | Description |
|---|---|
| org.fcrepo.server.journal | |
| org.fcrepo.server.journal.entry | |
| org.fcrepo.server.journal.managementmethods | |
| org.fcrepo.server.management |
| Modifier and Type | Method and Description |
|---|---|
ManagementDelegate |
ServerWrapper.getManagementDelegate() |
ManagementDelegate |
ServerInterface.getManagementDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
JournalWorker.setManagementDelegate(ManagementDelegate delegate)
Called by the Journaler during post-initialization, with a reference to
the ManagementDelegate module.
|
void |
JournalCreator.setManagementDelegate(ManagementDelegate delegate)
Receive a ManagementDelegate module to perform the Management operations.
|
void |
JournalConsumerThread.setManagementDelegate(ManagementDelegate delegate)
Now that we have a ManagementDelegate to perform the operations, we can
start working.
|
void |
JournalConsumer.setManagementDelegate(ManagementDelegate delegate)
Get the ManagementDelegate module and pass it to the
JournalConsumerThread, so it can start working.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CreatorJournalEntry.invokeAndClose(ManagementDelegate delegate,
JournalWriter writer)
A convenience method that invokes the management method and then closes
the JournalEntry, thereby cleaning up any temp files.
|
void |
ConsumerJournalEntry.invokeMethod(ManagementDelegate delegate,
JournalRecoveryLog recoveryLog) |
Object |
CreatorJournalEntry.invokeMethod(ManagementDelegate delegate,
JournalWriter writer)
Process the management method:
Check the operating mode - if we are in
Read-Only mode, this check will
throw an exception.
Prepare the writer in case we need to initialize a new file with a
repository hash.
Invoke the method on the ManagementDelegate.
Write the full journal entry, including any context changes from the
Management method.
These operations occur within a synchronized block. |
| Modifier and Type | Method and Description |
|---|---|
Object |
SetDatastreamVersionableMethod.invoke(ManagementDelegate delegate) |
Object |
SetDatastreamStateMethod.invoke(ManagementDelegate delegate) |
Object |
PutTempStreamMethod.invoke(ManagementDelegate delegate) |
Object |
PurgeRelationshipMethod.invoke(ManagementDelegate delegate) |
Object |
PurgeObjectMethod.invoke(ManagementDelegate delegate) |
Object |
PurgeDatastreamMethod.invoke(ManagementDelegate delegate) |
Object |
ModifyObjectMethod.invoke(ManagementDelegate delegate) |
Object |
ModifyDatastreamByValueMethod.invoke(ManagementDelegate delegate) |
Object |
ModifyDatastreamByReferenceMethod.invoke(ManagementDelegate delegate) |
abstract Object |
ManagementMethod.invoke(ManagementDelegate delegate)
Each concrete sub-class should use this method to pull the necessary
arguments from the map of the parent JournalEntry, call the appropriate
method on the ManagementDelegate, and perhaps store the result in the
context of the parent JournalEntry (depends on the sub-class).
|
Object |
IngestMethod.invoke(ManagementDelegate delegate) |
Object |
GetNextPidMethod.invoke(ManagementDelegate delegate) |
Object |
AddRelationshipMethod.invoke(ManagementDelegate delegate) |
Object |
AddDatastreamMethod.invoke(ManagementDelegate delegate) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultManagement
Implements API-M without regard to the transport/messaging protocol.
|
class |
ManagementModule |
Copyright © 2013 DuraSpace. All Rights Reserved.