Interface EventHandlingComponentsConfigurer.CompletePhase
- All Known Subinterfaces:
EventHandlingComponentsConfigurer.AdditionalComponentPhase
- All Known Implementing Classes:
DefaultEventHandlingComponentsConfigurer
- Enclosing interface:
EventHandlingComponentsConfigurer
public static interface EventHandlingComponentsConfigurer.CompletePhase
Final phase for applying decorations and building the component list.
-
Method Summary
Modifier and TypeMethodDescriptionApplies a decorator to all components in the collection.toMap()Returns the configured map of event handling components.
-
Method Details
-
decorated
EventHandlingComponentsConfigurer.CompletePhase decorated(BiFunction<Configuration, EventHandlingComponent, EventHandlingComponent> decorator) Applies a decorator to all components in the collection.- Parameters:
decorator- Function to decorate each component.- Returns:
- This phase for further decoration or finalization.
-
toMap
Map<String,ComponentBuilder<EventHandlingComponent>> toMap()Returns the configured map of event handling components.- Returns:
- The immutable map of configured component names to builders.
-