Trait

com.github.scalaspring.akka

ActorSystemConfiguration

Related Doc: package akka

Permalink

trait ActorSystemConfiguration extends SpringActorRefFactory

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

Linear Supertypes
SpringActorRefFactory, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorSystemConfiguration
  2. SpringActorRefFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def actorOf(props: Props, name: String)(implicit factory: ActorRefFactory): ActorRef

    Permalink
    Definition Classes
    SpringActorRefFactory
  5. def actorOf(props: Props)(implicit factory: ActorRefFactory): ActorRef

    Permalink
    Definition Classes
    SpringActorRefFactory
  6. def actorOf(beanName: String, args: Any*)(implicit factory: ActorRefFactory): ActorRef

    Permalink

    Creates a Spring-backed actor reference by name with optional constructor arguments.

    Creates a Spring-backed actor reference by name with optional constructor arguments.

    This factory method is typically used to disambiguate in the case of multiple beans defined for the same type. If this is not the case, consider using the preferred type-based reference factory methods.

    Example:

    @Bean
    def myActor = actorOf("myActorBean2")
    beanName

    name of the underlying bean

    args

    optional constructor arguments

    Definition Classes
    SpringActorRefFactory
  7. def actorOf[T <: Actor](args: Any*)(implicit arg0: ClassTag[T], factory: ActorRefFactory): ActorRef

    Permalink

    Creates a Spring-backed actor reference by type with constructor arguments.

    Creates a Spring-backed actor reference by type with constructor arguments.

    Looks up the Spring bean of the given type and constructor arguments (using Spring's BeanFactory.getBean(class, args)). This factory method is typically used when the target actor needs to be customized per consumer during configuration.

    Example:

    val someString = "some string"
    
    @Bean
    def myActor = actorOf[MyActor](someString)
    Definition Classes
    SpringActorRefFactory
  8. def actorOf[T <: Actor](implicit arg0: ClassTag[T], factory: ActorRefFactory): ActorRef

    Permalink

    Creates a Spring-backed actor reference by type.

    Creates a Spring-backed actor reference by type.

    Looks up the Spring bean of the given type, which is expected to be an Actor. This factory method satisfies most use cases and is appropriate when a single actor of a given type is defined.

    Example:

    @Bean
    def myActor = actorOf[MyActor]
    Definition Classes
    SpringActorRefFactory
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. implicit val factory: ActorSystem

    Permalink
    Attributes
    protected
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def generateActorName[T <: Actor](implicit arg0: ClassTag[T]): String

    Permalink
    Attributes
    protected
    Definition Classes
    SpringActorRefFactory
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SpringActorRefFactory

Inherited from AnyRef

Inherited from Any

Ungrouped