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 Object
implements BatchProcessor.BatchProcessWorker<T>
-
Constructor Details
-
BaseBatchProcessWorker
protected BaseBatchProcessWorker()
-
-
Method Details
-
beforeProcess
Description 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:
Throwable
-
afterProcess
Description 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:
Throwable
-