Package

com.github.scalaspring

akka

Permalink

package akka

Visibility
  1. Public
  2. All

Type Members

  1. class ActorBean extends Annotation with Annotation with ClassfileAnnotation

    Permalink
  2. class ActorComponent extends Annotation with Annotation with ClassfileAnnotation

    Permalink
  3. class ActorSystemBeanPostProcessor extends BeanPostProcessor with SpringLogging

    Permalink

    Registers SpringExtension on any actor system created in the application context.

    Registers SpringExtension on any actor system created in the application context.

  4. trait ActorSystemConfiguration extends SpringActorRefFactory

    Permalink

    Extend this trait to add actor reference creation helper methods to any Spring configuration.

  5. class ActorSystemLifecycle extends SmartLifecycle with SpringLogging

    Permalink

    Shuts down the actor system when the application context is stopped.

    Shuts down the actor system when the application context is stopped.

    The lifecycle phase (default -10) can be adjusted by setting the akka.actorSystem.lifecycle.phase configuration property. Note that the phase MUST be less than any beans that depend on the actor system to ensure that the actor system is shut down after any dependent beans.

  6. class AkkaAutoConfiguration extends SpringLogging

    Permalink

    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.

    Annotations
    @Configuration() @Import()
    See also

    ActorRefFactory

  7. trait AkkaAutowiredImplicits extends AnyRef

    Permalink
  8. trait SpringActor extends Actor with SpringActorRefFactory

    Permalink

    Extend this trait to add factory helper methods to actors.

  9. class SpringExtension extends Extension

    Permalink

    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).

    See also

    ActorSystemBeanPostProcessor

  10. class SpringIndirectActorProducer extends IndirectActorProducer

    Permalink
  11. trait SpringLogging extends AnyRef

    Permalink

Value Members

  1. object ActorSystemLifecycle

    Permalink
  2. object SpringExtension extends ExtensionId[SpringExtension] with ExtensionIdProvider

    Permalink
  3. object SpringIndirectActorProducer

    Permalink
  4. object SpringProps

    Permalink

    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.

    See also

    SpringActor

    ActorSystemConfiguration

    SpringActorRefFactory

  5. package config

    Permalink

Ungrouped