use of com.evolveum.midpoint.model.impl.sync.tasks.SyncItemProcessingRequest in project midpoint by Evolveum.
the class AsyncUpdateActivityRun method iterateOverItemsInBucket.
@Override
public void iterateOverItemsInBucket(OperationResult opResult) throws CommunicationException, ObjectNotFoundException, SchemaException, ConfigurationException, ExpressionEvaluationException {
AsyncUpdateEventHandler handler = (event, hResult) -> {
SyncItemProcessingRequest<AsyncUpdateEvent> request = new SyncItemProcessingRequest<>(event, this);
return coordinator.submit(request, hResult);
};
RunningTask runningTask = getRunningTask();
ModelImplUtils.clearRequestee(runningTask);
getModelBeans().provisioningService.processAsynchronousUpdates(resourceObjectClass.getCoords(), handler, runningTask, opResult);
}
Aggregations