akka.actor
Class TypedProps$

java.lang.Object
  extended by akka.actor.TypedProps$
All Implemented Interfaces:
java.io.Serializable

public class TypedProps$
extends java.lang.Object
implements scala.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.

See Also:
Serialized Form

Field Summary
static TypedProps$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
TypedProps$()
           
 
Method Summary
<T> TypedProps<T>
apply(java.lang.Class<? super T> interface_, java.lang.Class<T> implementation)
          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.
<T> TypedProps<T>
apply(java.lang.Class<? super T> interface_, scala.Function0<T> creator)
          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.
<T> TypedProps<T>
apply(java.lang.Class<T> implementation)
          Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.
<T> TypedProps<T>
apply(scala.reflect.ClassTag<T> evidence$1)
          Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.
 java.lang.String defaultDispatcherId()
           
 scala.Option<java.lang.ClassLoader> defaultLoader()
           
 scala.Option<Timeout> defaultTimeout()
           
 scala.collection.immutable.Seq<java.lang.Class<?>> extractInterfaces(java.lang.Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE$

public static final TypedProps$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

TypedProps$

public TypedProps$()
Method Detail

defaultDispatcherId

public java.lang.String defaultDispatcherId()

defaultTimeout

public scala.Option<Timeout> defaultTimeout()

defaultLoader

public scala.Option<java.lang.ClassLoader> defaultLoader()

extractInterfaces

public scala.collection.immutable.Seq<java.lang.Class<?>> extractInterfaces(java.lang.Class<?> clazz)
Returns:
a sequence of interfaces that the specified class implements, or a sequence containing only itself, if itself is an interface.

apply

public <T> TypedProps<T> apply(java.lang.Class<T> implementation)
Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.

Scala API


apply

public <T> TypedProps<T> apply(java.lang.Class<? super T> interface_,
                               java.lang.Class<T> implementation)
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


apply

public <T> TypedProps<T> apply(java.lang.Class<? super T> interface_,
                               scala.Function0<T> creator)
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


apply

public <T> TypedProps<T> apply(scala.reflect.ClassTag<T> evidence$1)
Uses the supplied class as the factory for the TypedActor implementation, proxying all the interfaces it implements.

Scala API