Package org.alfresco.repo.security.sync
Class ChainingUserRegistrySynchronizer.BaseBatchProcessWorker<T>
- java.lang.Object
-
- org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.BaseBatchProcessWorker<T>
-
- All Implemented Interfaces:
BatchProcessor.BatchProcessWorker<T>
- Enclosing class:
- ChainingUserRegistrySynchronizer
protected abstract class ChainingUserRegistrySynchronizer.BaseBatchProcessWorker<T> extends java.lang.Object implements BatchProcessor.BatchProcessWorker<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseBatchProcessWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterProcess()Callback to allow thread cleanup after the work entries have beenprocessed.voidbeforeProcess()Callback to allow thread initialization before the work entries areprocessed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.repo.batch.BatchProcessor.BatchProcessWorker
getIdentifier, process
-
-
-
-
Method Detail
-
beforeProcess
public final void beforeProcess() throws java.lang.ThrowableDescription copied from interface:BatchProcessor.BatchProcessWorkerCallback to allow thread initialization before the work entries areprocessed. Typically, this will include authenticating as a valid user and disbling or enabling any system flags that might affect the entry processing.- Specified by:
beforeProcessin interfaceBatchProcessor.BatchProcessWorker<T>- Throws:
java.lang.Throwable
-
afterProcess
public final void afterProcess() throws java.lang.ThrowableDescription copied from interface:BatchProcessor.BatchProcessWorkerCallback to allow thread cleanup after the work entries have beenprocessed. 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.- Specified by:
afterProcessin interfaceBatchProcessor.BatchProcessWorker<T>- Throws:
java.lang.Throwable
-
-