Interface | Description |
---|---|
Lifecycle |
Interface for components that can be started and shut down as part of the Application lifecycle.
|
Lifecycle.LifecycleHandler |
Functional interface for lifecycle activities that may run asynchronously
|
Lifecycle.LifecycleRegistry |
Interface towards the registry that holds all lifecycle handlers for components.
|
Class | Description |
---|---|
Phase |
Utility class containing constants which can be used as input for the
StartHandler and ShutdownHandler annotations, or components implementing the Lifecycle interface. |
ShutdownLatch |
A latch implementation to be used in shutdown scenarios.
|
Exception | Description |
---|---|
LifecycleHandlerInvocationException |
Exception indicating a failure occurred during a lifecycle handler method invocation.
|
ShutdownInProgressException |
Exception indicating a process tried to register an activity whilst the application is shutting down.
|
Annotation Type | Description |
---|---|
ShutdownHandler |
Annotation indicating that a member method should be a part of the shutdown cycle of an Axon application.
|
StartHandler |
Annotation indicating that a member method should be a part of the start cycle of an Axon application.
|
Copyright © 2010–2023. All rights reserved.