Package akka.actor

Class TypedProps$

  • All Implemented Interfaces:
    java.io.Serializable

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

      Fields 
      Modifier and Type Field Description
      static TypedProps$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      TypedProps$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <T> java.lang.String $lessinit$greater$default$3()
      TypedProps is a TypedActor configuration object, that is thread safe and fully sharable.
      protected <T> Deploy $lessinit$greater$default$4()  
      protected <T> scala.Option<Timeout> $lessinit$greater$default$5()  
      protected <T> scala.Option<java.lang.ClassLoader> $lessinit$greater$default$6()  
      <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.collection.immutable.Seq<java.lang.Class<?>> interfaces, scala.Function0<T> creator, java.lang.String dispatcher, Deploy deploy, scala.Option<Timeout> timeout, scala.Option<java.lang.ClassLoader> loader)  
      <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.
      <T> java.lang.String apply$default$3()
      TypedProps is a TypedActor configuration object, that is thread safe and fully sharable.
      <T> Deploy apply$default$4()  
      <T> scala.Option<Timeout> apply$default$5()  
      <T> scala.Option<java.lang.ClassLoader> apply$default$6()  
      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)  
      <T> scala.Option<scala.Tuple6<scala.collection.immutable.Seq<java.lang.Class<?>>,​scala.Function0<T>,​java.lang.String,​Deploy,​scala.Option<Timeout>,​scala.Option<java.lang.ClassLoader>>> unapply​(TypedProps<T> x$0)  
      • 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

      • $lessinit$greater$default$3

        protected <T> java.lang.String $lessinit$greater$default$3()
        TypedProps is a TypedActor configuration object, that is thread safe and fully sharable. It's used in TypedActorFactory.typedActorOf to configure a TypedActor instance.
      • $lessinit$greater$default$4

        protected <T> Deploy $lessinit$greater$default$4()
      • $lessinit$greater$default$5

        protected <T> scala.Option<Timeout> $lessinit$greater$default$5()
      • $lessinit$greater$default$6

        protected <T> scala.Option<java.lang.ClassLoader> $lessinit$greater$default$6()
      • 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

      • apply$default$3

        public <T> java.lang.String apply$default$3()
        TypedProps is a TypedActor configuration object, that is thread safe and fully sharable. It's used in TypedActorFactory.typedActorOf to configure a TypedActor instance.
      • apply$default$4

        public <T> Deploy apply$default$4()
      • apply$default$5

        public <T> scala.Option<Timeout> apply$default$5()
      • apply$default$6

        public <T> scala.Option<java.lang.ClassLoader> apply$default$6()
      • apply

        public <T> TypedProps<T> apply​(scala.collection.immutable.Seq<java.lang.Class<?>> interfaces,
                                       scala.Function0<T> creator,
                                       java.lang.String dispatcher,
                                       Deploy deploy,
                                       scala.Option<Timeout> timeout,
                                       scala.Option<java.lang.ClassLoader> loader)
      • unapply

        public <T> scala.Option<scala.Tuple6<scala.collection.immutable.Seq<java.lang.Class<?>>,​scala.Function0<T>,​java.lang.String,​Deploy,​scala.Option<Timeout>,​scala.Option<java.lang.ClassLoader>>> unapply​(TypedProps<T> x$0)