Uses of Interface
org.axonframework.common.configuration.ComponentDefinition
Packages that use ComponentDefinition
Package
Description
-
Uses of ComponentDefinition in org.axonframework.common.configuration
Subinterfaces of ComponentDefinition in org.axonframework.common.configurationModifier and TypeInterfaceDescriptionstatic interfaceMandatory interface to be implemented by all implementations ofComponentDefinition.Classes in org.axonframework.common.configuration that implement ComponentDefinitionModifier and TypeClassDescriptionclassAbstractComponent<C,A extends C> Base implementation of aComponentandComponentDefinition.ComponentCreatorto simplify definition and creation of components through aComponentDefinition.classImplementation ofComponentandComponentDefinitionthat wraps a pre-instantiated component.classLazyInitializedComponentDefinition<C,A extends C> Implementation ofComponentandComponentDefinitionthat instantiates a component using a configured builder.Methods in org.axonframework.common.configuration that return ComponentDefinitionModifier and TypeMethodDescriptionAbstractComponent.onShutdown(int phase, ComponentLifecycleHandler<C> handler) default ComponentDefinition<C> ComponentDefinition.onShutdown(int phase, BiConsumer<Configuration, C> handler) Registers the givenhandlerto be invoked during the shutdown lifecycle of the application in the givenphase.default ComponentDefinition<C> ComponentDefinition.onShutdown(int phase, Consumer<C> handler) Registers the givenhandlerto be invoked during the shutdown lifecycle of the application in the givenphase.ComponentDefinition.onShutdown(int phase, ComponentLifecycleHandler<C> handler) Registers the givenhandlerto be invoked during the shutdown lifecycle of the application in the givenphase.AbstractComponent.onStart(int phase, ComponentLifecycleHandler<C> handler) default ComponentDefinition<C> ComponentDefinition.onStart(int phase, BiConsumer<Configuration, C> handler) Registers the givenhandlerto be invoked during the startup lifecycle of the application in the givenphase.default ComponentDefinition<C> Registers the givenhandlerto be invoked during the startup lifecycle of the application in the givenphase.ComponentDefinition.onStart(int phase, ComponentLifecycleHandler<C> handler) Registers the givenhandlerto be invoked during the startup lifecycle of the application in the givenphase.ComponentDefinition.IncompleteComponentDefinition.withBuilder(ComponentBuilder<? extends C> builder) Creates aComponentDefinitionthat creates an instance on-demand using the givenbuildermethod.ComponentDefinition.IncompleteComponentDefinition.withInstance(C instance) Creates aComponentDefinitionwith the given pre-instantiatedinstanceof a component.Methods in org.axonframework.common.configuration with parameters of type ComponentDefinitionModifier and TypeMethodDescriptionComponentRegistry.registerComponent(ComponentDefinition<? extends C> definition) Registers aComponentbased on the givendefinition.DefaultComponentRegistry.registerComponent(ComponentDefinition<? extends C> definition) default <C> ComponentRegistryComponentRegistry.registerIfNotPresent(ComponentDefinition<C> definition) default <C> ComponentRegistryComponentRegistry.registerIfNotPresent(ComponentDefinition<C> definition, SearchScope searchScope) -
Uses of ComponentDefinition in org.axonframework.extension.spring.config
Methods in org.axonframework.extension.spring.config with parameters of type ComponentDefinitionModifier and TypeMethodDescriptionSpringComponentRegistry.registerComponent(ComponentDefinition<? extends C> definition)