protected abstract class ChainingUserRegistrySynchronizer.BaseBatchProcessWorker<T> extends Object implements BatchProcessor.BatchProcessWorker<T>
Modifier | Constructor and Description |
---|---|
protected |
BaseBatchProcessWorker() |
Modifier and Type | Method and Description |
---|---|
void |
afterProcess()
Callback to allow thread cleanup after the work entries have been
processed . |
void |
beforeProcess()
Callback to allow thread initialization before the work entries are
processed . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIdentifier, process
public final void beforeProcess() throws Throwable
BatchProcessor.BatchProcessWorker
processed
. Typically, this will include authenticating
as a valid user and disbling or enabling any system flags that might affect the
entry processing.beforeProcess
in interface BatchProcessor.BatchProcessWorker<T>
Throwable
public final void afterProcess() throws Throwable
BatchProcessor.BatchProcessWorker
processed
.
Typically, this will involve cleanup of authentication and resetting any
system flags previously set.
This call is made regardless of the outcome of the entry processing.afterProcess
in interface BatchProcessor.BatchProcessWorker<T>
Throwable
Copyright © 2005–2017 Alfresco Software. All rights reserved.