Registers SpringExtension
on any actor system created in the application context.
Extend this trait to add actor reference creation helper methods to any Spring configuration.
Shuts down the actor system when the application context is stopped.
Configures Akka for use in a Spring application using reasonable defaults.
Configures Akka for use in a Spring application using reasonable defaults. Most beans in this configuration are conditional and will only be defined if not already present in the context. This allows user-defined configuration to override defaults.
This configuration provides the following: 1. A default actor system based on the supplied Akka Config. A single actor system is presumed sufficient for most applications. 2. A SmartLifecycle bean that shuts down the actor system when the application context is stopped. This matches the lifetime of the actor system to the containing application context. 3. A baseline Deploy instance used as the starting point for actors created within the application context.
ActorRefFactory
Extend this trait to add factory helper methods to actors.
Extension that holds the Spring application context.
Extension that holds the Spring application context.
The applicationContext property is a write-once property that is set when creating the actor system bean (via a bean post processor).
ActorSystemBeanPostProcessor
Adapter class to create standard Akka Props backed by Spring beans.
Adapter class to create standard Akka Props backed by Spring beans. Retrieves application context from the implicit ActorRefFactory (either the actor system or an actor).
NOTE: This class is typically NOT used directly, but rather through the SpringActorRefFactory
trait.
SpringActor
ActorSystemConfiguration
SpringActorRefFactory
Registers
SpringExtension
on any actor system created in the application context.