akka.actor

TypedProps

case class TypedProps[T <: AnyRef](interfaces: Seq[Class[_]], creator: () ⇒ T, dispatcher: String, deploy: Deploy, timeout: Option[Timeout], loader: Option[ClassLoader]) extends Product with Serializable

TypedProps is a TypedActor configuration object, that is thread safe and fully sharable. It's used in TypedActorFactory.typedActorOf to configure a TypedActor instance.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TypedProps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypedProps(interface: Class[_ >: T], implementation: Class[T])

    Uses the supplied class as the factory for the TypedActor implementation, and that has the specified interface, or if the interface class is not an interface, all the interfaces it implements, appended in the sequence of interfaces.

    Uses the supplied class as the factory for the TypedActor implementation, and that has the specified interface, or if the interface class is not an interface, all the interfaces it implements, appended in the sequence of interfaces.

    Java API.

  2. new TypedProps(interface: Class[_ >: T], implementation: Creator[T])

    Uses the supplied Creator as the factory for the TypedActor implementation, and that has the specified interface, or if the interface class is not an interface, all the interfaces it implements, appended in the sequence of interfaces.

    Uses the supplied Creator as the factory for the TypedActor implementation, and that has the specified interface, or if the interface class is not an interface, all the interfaces it implements, appended in the sequence of interfaces.

    Java API.

  3. new TypedProps(implementation: Class[T])

    Uses the supplied class as the factory for the TypedActor implementation, and that has the specified interface, or if the interface class is not an interface, all the interfaces it implements, appended in the sequence of interfaces.

  4. new TypedProps(interfaces: Seq[Class[_]], creator: () ⇒ T, dispatcher: String = TypedProps.defaultDispatcherId, deploy: Deploy = Props.defaultDeploy, timeout: Option[Timeout] = TypedProps.defaultTimeout, loader: Option[ClassLoader] = TypedProps.defaultLoader)

    Attributes
    protected

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def actorProps(): Props

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(arg0: Any): Boolean

    Definition Classes
    TypedProps → Equals
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val creator: () ⇒ T

  11. val deploy: Deploy

  12. val dispatcher: String

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    TypedProps → Equals → AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    TypedProps → AnyRef → Any
  18. val interfaces: Seq[Class[_]]

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val loader: Option[ClassLoader]

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def productArity: Int

    Definition Classes
    TypedProps → Product
  25. def productElement(arg0: Int): Any

    Definition Classes
    TypedProps → Product
  26. def productIterator: Iterator[Any]

    Definition Classes
    Product
  27. def productPrefix: String

    Definition Classes
    TypedProps → Product
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. val timeout: Option[Timeout]

  30. def toString(): String

    Definition Classes
    TypedProps → AnyRef → Any
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def withDeploy(d: Deploy): TypedProps[T]

    Returns a new TypedProps with the specified deployment configuration.

  35. def withDispatcher(d: String): TypedProps[T]

    Returns a new TypedProps with the specified dispatcher set.

  36. def withInterface(interface: Class[_ >: T]): TypedProps[T]

    Returns a new TypedProps that has the specified interface, or if the interface class is not an interface, all the interfaces it implements, appended in the sequence of interfaces.

  37. def withLoader(loader: Option[ClassLoader]): TypedProps[T]

    returns

    a new TypedProps that will use the specified ClassLoader to create its proxy class in If loader is null, it will use the bootstrap classloader.

    Scala API

  38. def withLoader(loader: ClassLoader): TypedProps[T]

    returns

    a new TypedProps that will use the specified ClassLoader to create its proxy class in If loader is null, it will use the bootstrap classloader.

    Java API

  39. def withTimeout(timeout: Option[Timeout]): TypedProps[T]

    returns

    a new TypedProps that will use the specified Timeout for its non-void-returning methods, if None is specified, it will use the default timeout as specified in the configuration.

    Scala API

  40. def withTimeout(timeout: Timeout): TypedProps[T]

    returns

    a new TypedProps that will use the specified Timeout for its non-void-returning methods, if null is specified, it will use the default timeout as specified in the configuration.

    Java API

  41. def withoutInterface(interface: Class[_ >: T]): TypedProps[T]

    Returns a new TypedProps without the specified interface, or if the interface class is not an interface, all the interfaces it implements.

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any