Class HandlerEnhancerDefinitionUtils

java.lang.Object
org.axonframework.messaging.core.configuration.reflection.HandlerEnhancerDefinitionUtils

public class HandlerEnhancerDefinitionUtils extends Object
Utility class that provides methods to register a HandlerEnhancerDefinition to the ComponentRegistry.

Ensures that the ComponentRegistry at all times has one HandlerEnhancerDefinition component. Subsequent invocations of registerToComponentRegistry(ComponentRegistry, Function)/registerToComponentRegistry(ComponentRegistry, int, Function) will decorate the existing HandlerEnhancerDefinition and given HandlerEnhancerDefinition into a MultiHandlerEnhancerDefinition.

Since:
5.3.2
Author:
Steven van Beelen