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 TypeMethodDescriptiondefault List<EventHandlingComponent> build(Configuration configuration) Builds all configured components using the provided configuration.Applies a decorator to all components in the collection.toList()Returns the configured list of event handling components.
-
Method Details
-
decorated
@Nonnull EventHandlingComponentsConfigurer.CompletePhase decorated(@Nonnull 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.
-
toList
Returns the configured list of event handling components.- Returns:
- The immutable list of configured components.
-
build
Builds all configured components using the provided configuration.- Parameters:
configuration- The framework configuration.- Returns:
- The list of built event handling components.
-