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, waitgetIdentifier, processpublic final void beforeProcess()
throws Throwable
BatchProcessor.BatchProcessWorkerprocessed. 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>Throwablepublic final void afterProcess()
throws Throwable
BatchProcessor.BatchProcessWorkerprocessed.
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>ThrowableCopyright © 2005–2018 Alfresco Software. All rights reserved.