Uses of Interface
org.axonframework.common.configuration.LifecycleRegistry
Packages that use LifecycleRegistry
Package
Description
-
Uses of LifecycleRegistry in org.axonframework.axonserver.connector.event
Methods in org.axonframework.axonserver.connector.event with parameters of type LifecycleRegistryModifier and TypeMethodDescriptionvoidAxonServerEventStorageEngineFactory.registerShutdownHandlers(LifecycleRegistry registry) -
Uses of LifecycleRegistry in org.axonframework.common.configuration
Classes in org.axonframework.common.configuration that implement LifecycleRegistryModifier and TypeClassDescriptionclassDefault implementation of theAxonApplication.classThe HierarchicalConfiguration is a configuration that will ensure the to-be-built child configuration will be passed aLifecycleRegistrythat is a child of the parent configuration'sLifecycleRegistry.Methods in org.axonframework.common.configuration that return LifecycleRegistryModifier and TypeMethodDescriptionHierarchicalConfiguration.onShutdown(int phase, LifecycleHandler shutdownHandler) default LifecycleRegistryLifecycleRegistry.onShutdown(int phase, Runnable shutdownHandler) Registers ashutdownHandlerto be executed in the givenphasewhen the configuration this registry belongs to is shut down.default LifecycleRegistryLifecycleRegistry.onShutdown(int phase, Consumer<Configuration> shutdownHandler) Registers ashutdownHandlerto be executed in the givenphasewhen the configuration this registry belongs to is shut down.default LifecycleRegistryLifecycleRegistry.onShutdown(int phase, Supplier<CompletableFuture<?>> shutdownHandler) Registers ashutdownHandlerto be executed in the givenphasewhen the configuration this registry belongs to is shut down.LifecycleRegistry.onShutdown(int phase, LifecycleHandler shutdownHandler) Registers an asynchronousshutdownHandlerto be executed in the givenphasewhen the configuration this registry belongs to is shut down.default LifecycleRegistryLifecycleRegistry.onShutdown(Runnable shutdownHandler) Registers ashutdownHandlerto be executed in the default phase0when the configuration this registry belongs to is shut down.HierarchicalConfiguration.onStart(int phase, LifecycleHandler startHandler) default LifecycleRegistryRegisters astartHandlerto be executed in the givenphasewhen the configuration this registry belongs to is started.default LifecycleRegistryLifecycleRegistry.onStart(int phase, Consumer<Configuration> startHandler) Registers astartHandlerto be executed in the givenphasewhen the configuration this registry belongs to is started.default LifecycleRegistryLifecycleRegistry.onStart(int phase, Supplier<CompletableFuture<?>> startHandler) Registers astartHandlerto be executed in the givenphasewhen the configuration this registry belongs to is started.LifecycleRegistry.onStart(int phase, LifecycleHandler startHandler) Registers an asynchronousstartHandlerto be executed in the givenphasewhen the configuration this registry belongs to is started.default LifecycleRegistryRegisters astartHandlerto be executed in the default phase0when the configuration this registry belongs to is started.HierarchicalConfiguration.registerLifecyclePhaseTimeout(long timeout, TimeUnit timeUnit) LifecycleRegistry.registerLifecyclePhaseTimeout(long timeout, TimeUnit timeUnit) Configures the timeout of each lifecycle phase.Methods in org.axonframework.common.configuration with parameters of type LifecycleRegistryModifier and TypeMethodDescriptionBaseModule.build(Configuration parent, LifecycleRegistry lifecycleRegistry) DefaultComponentRegistry.build(LifecycleRegistry lifecycleRegistry) Builds theConfigurationfrom thisComponentRegistryas a root configuration.static ConfigurationHierarchicalConfiguration.build(LifecycleRegistry parentLifecycleRegistry, Function<LifecycleRegistry, Configuration> childConfigurationBuilder) Builds aConfigurationbased on the passedchildConfigurationBuilder.Module.build(Configuration parent, LifecycleRegistry lifecycleRegistry) Buildsthis Module, resulting in theConfigurationcontaining all registered components.DefaultComponentRegistry.buildNested(Configuration parent, LifecycleRegistry lifecycleRegistry) Builds theConfigurationfrom thisComponentRegistryas a nested configuration under the givenparent.voidAbstractComponent.initLifecycle(Configuration configuration, LifecycleRegistry lifecycleRegistry) voidComponent.initLifecycle(Configuration configuration, LifecycleRegistry lifecycleRegistry) Initializes the lifecycle handlers associated with this component.voidComponentFactory.registerShutdownHandlers(LifecycleRegistry registry) Registers this factory's shutdown process with the givenregistry.Method parameters in org.axonframework.common.configuration with type arguments of type LifecycleRegistryModifier and TypeMethodDescriptionstatic ConfigurationHierarchicalConfiguration.build(LifecycleRegistry parentLifecycleRegistry, Function<LifecycleRegistry, Configuration> childConfigurationBuilder) Builds aConfigurationbased on the passedchildConfigurationBuilder.ApplicationConfigurer.lifecycleRegistry(Consumer<LifecycleRegistry> lifecycleRegistrar) Executes the givenlifecycleRegistraron the lifecycle registry associated with thisApplicationConfigurer.DefaultAxonApplication.lifecycleRegistry(Consumer<LifecycleRegistry> lifecycleRegistrar) -
Uses of LifecycleRegistry in org.axonframework.eventsourcing.configuration
Method parameters in org.axonframework.eventsourcing.configuration with type arguments of type LifecycleRegistryModifier and TypeMethodDescriptionEventSourcingConfigurer.lifecycleRegistry(Consumer<LifecycleRegistry> lifecycleRegistrar) -
Uses of LifecycleRegistry in org.axonframework.extension.spring.config
Classes in org.axonframework.extension.spring.config that implement LifecycleRegistryModifier and TypeClassDescriptionclassALifecycleRegistryimplementation that registers all lifecycle handlers as SpringSmartLifecyclebeans to ensure Spring weaves these lifecycles into the other Spring bean lifecycles.Methods in org.axonframework.extension.spring.config that return LifecycleRegistryModifier and TypeMethodDescriptionSpringLifecycleRegistry.onShutdown(int phase, LifecycleHandler shutdownHandler) SpringLifecycleRegistry.onStart(int phase, LifecycleHandler startHandler) SpringLifecycleRegistry.registerLifecyclePhaseTimeout(long timeout, TimeUnit timeUnit) Method parameters in org.axonframework.extension.spring.config with type arguments of type LifecycleRegistryModifier and TypeMethodDescriptionSpringAxonApplication.lifecycleRegistry(Consumer<LifecycleRegistry> lifecycleRegistrar) -
Uses of LifecycleRegistry in org.axonframework.messaging.core.configuration
Method parameters in org.axonframework.messaging.core.configuration with type arguments of type LifecycleRegistryModifier and TypeMethodDescriptionMessagingConfigurer.lifecycleRegistry(Consumer<LifecycleRegistry> lifecycleRegistrar) -
Uses of LifecycleRegistry in org.axonframework.modelling.configuration
Method parameters in org.axonframework.modelling.configuration with type arguments of type LifecycleRegistryModifier and TypeMethodDescriptionModellingConfigurer.lifecycleRegistry(Consumer<LifecycleRegistry> lifecycleRegistrar)