Class ResourceOverridingProcessingContext<R>

java.lang.Object
org.axonframework.messaging.core.unitofwork.ResourceOverridingProcessingContext<R>
Type Parameters:
R - The type of the resource this resource-overriding ProcessingContext overrides.
All Implemented Interfaces:
ApplicationContext, Context, ProcessingContext, ProcessingLifecycle

public class ResourceOverridingProcessingContext<R> extends Object implements ProcessingContext
A ProcessingContext implementation overriding a single resource from the wrapping ProcessingContext.

Should be used to instantiate a new ProcessingContext for which only a single resource should be adjusted compared to its delegate.

Since:
5.0.0
Author:
Allard Buijze