Package org.axonframework.deadline
Class AggregateDeadlineEntityIdResolverConfigurationEnhancer
java.lang.Object
org.axonframework.deadline.AggregateDeadlineEntityIdResolverConfigurationEnhancer
- All Implemented Interfaces:
ConfigurationEnhancer
public class AggregateDeadlineEntityIdResolverConfigurationEnhancer
extends Object
implements ConfigurationEnhancer
ConfigurationEnhancer registering AggregateDeadlineEntityIdResolverDefinition as the application-wide
EntityIdResolverDefinition default.
This registration only benefits an @EventSourcedEntity/@EventSourced entity: see
AggregateDeadlineEntityIdResolverDefinition's class Javadoc for why a migrated state-stored aggregate or a
declaratively configured entity module does not pick up this default.
- Since:
- 5.4.0
- Author:
- Steven van Beelen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenhance(ComponentRegistry registry) intorder()Returns the relative order this enhancer should be invoked in, compared to other instances.
-
Constructor Details
-
AggregateDeadlineEntityIdResolverConfigurationEnhancer
public AggregateDeadlineEntityIdResolverConfigurationEnhancer()
-
-
Method Details
-
order
public int order()Description copied from interface:ConfigurationEnhancerReturns the relative order this enhancer should be invoked in, compared to other instances.Use lower (negative) values for enhancers providing sensible defaults, and higher values for enhancers that should be able to override values potentially previously set. Defaults to
0when not set.- Specified by:
orderin interfaceConfigurationEnhancer- Returns:
- The order in which this enhancer should be invoked.
-
enhance
Description copied from interface:ConfigurationEnhancer- Specified by:
enhancein interfaceConfigurationEnhancer- Parameters:
registry- The registry instance to enhance.
-