object TypedProps extends 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.
- Source
- TypedActor.scala
- Alphabetic
- By Inheritance
- TypedProps
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply[T <: AnyRef]()(implicit arg0: ClassTag[T]): TypedProps[T]
Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.
Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.
Scala API
-
def
apply[T <: AnyRef](interface: Class[_ >: T], creator: ⇒ T): TypedProps[T]
Uses the supplied thunk 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 thunk 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.
Scala API
-
def
apply[T <: AnyRef](interface: Class[_ >: T], implementation: Class[T]): TypedProps[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.
Scala API
-
def
apply[T <: AnyRef](implementation: Class[T]): TypedProps[T]
Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.
Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.
Scala API
- val defaultDispatcherId: String
- val defaultLoader: Option[ClassLoader]
- val defaultTimeout: Option[Timeout]
-
def
extractInterfaces(clazz: Class[_]): Seq[Class[_]]
- returns
a sequence of interfaces that the specified class implements, or a sequence containing only itself, if itself is an interface.