akka.actor

TypedActor

object TypedActor extends AnyRef

Factory class for creating TypedActors out of plain POJOs and/or POJOs with interfaces.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TypedActor
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. val AKKA_CAMEL_ROUTING_SCHEME : String

  7. val AW_PROXY_PREFIX : String

  8. val ZERO_ITEM_CLASS_ARRAY : Array[java.lang.Class[_]]

  9. val ZERO_ITEM_OBJECT_ARRAY : Array[AnyRef]

  10. def actorFor (proxy: AnyRef): Option[ActorRef]

    Get the underlying typed actor for the given Typed Actor.

  11. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def faultHandler (supervisor: AnyRef, handler: FaultHandlingStrategy): akka.actor.TypedActor.type

    Sets the fault handling strategy for the given supervisor Typed Actor.

    Sets the fault handling strategy for the given supervisor Typed Actor.

    supervisor

    the supervisor Typed Actor

    handler

    fault handling strategy

  16. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  19. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  20. def isJoinPointAndOneWay (message: Any): Boolean

  21. def link (supervisor: AnyRef, supervised: AnyRef, handler: FaultHandlingStrategy): Unit

    Links an other Typed Actor to this Typed Actor and sets the fault handling for the supervisor.

    Links an other Typed Actor to this Typed Actor and sets the fault handling for the supervisor.

    supervisor

    the supervisor Typed Actor

    supervised

    the Typed Actor to link

    handler

    fault handling strategy

  22. def link (supervisor: AnyRef, supervised: AnyRef): Unit

    Links an other Typed Actor to this Typed Actor.

    Links an other Typed Actor to this Typed Actor.

    supervisor

    the supervisor Typed Actor

    supervised

    the Typed Actor to link

  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def newInstance [T] (intfClass: Class[T], factory: TypedActorFactory, config: TypedActorConfiguration): T

    Java API.

  25. def newInstance [T] (intfClass: Class[T], factory: TypedActorFactory, timeout: Long): T

    Java API.

  26. def newInstance [T] (intfClass: Class[T], factory: TypedActorFactory): T

    Java API.

    Java API. NOTE: Use this convenience method with care, do NOT make it possible to get a reference to the TypedActor instance directly, but only through its 'ActorRef' wrapper reference.

    Creates an ActorRef out of the Actor. Allows you to pass in the instance for the TypedActor. Only use this method when you need to pass in constructor arguments into the 'TypedActor'.

    You use it by implementing the TypedActorFactory interface. Example in Java:

      MyPojo pojo = TypedActor.newInstance(MyPojo.class, new TypedActorFactory() {
        public TypedActor create() {
          return new MyTypedActor("service:name", 5);
        }
      });
    

  27. def newInstance [T] (intfClass: Class[T], targetClass: Class[_], config: TypedActorConfiguration): T

    Factory method for typed actor.

    Factory method for typed actor.

    intfClass

    interface the typed actor implements

    targetClass

    implementation class of the typed actor

    config

    configuration object for the typed actor

  28. def newInstance [T] (intfClass: Class[T], factory: ⇒ AnyRef, config: TypedActorConfiguration): T

    Factory method for typed actor.

    Factory method for typed actor.

    intfClass

    interface the typed actor implements

    factory

    factory method that constructs the typed actor

    config

    configuration object for the typed actor

  29. def newInstance [T] (intfClass: Class[T], factory: ⇒ AnyRef, timeout: Long): T

    Factory method for typed actor.

    Factory method for typed actor.

    intfClass

    interface the typed actor implements

    factory

    factory method that constructs the typed actor

    timeout

    timeout for future

  30. def newInstance [T] (intfClass: Class[T], targetClass: Class[_], timeout: Long): T

    Factory method for typed actor.

    Factory method for typed actor.

    intfClass

    interface the typed actor implements

    targetClass

    implementation class of the typed actor

    timeout

    timeout for future

  31. def newInstance [T] (intfClass: Class[T], factory: ⇒ AnyRef): T

    Factory method for typed actor.

    Factory method for typed actor.

    intfClass

    interface the typed actor implements

    factory

    factory method that constructs the typed actor

  32. def newInstance [T] (intfClass: Class[T], targetClass: Class[_]): T

    Factory method for typed actor.

    Factory method for typed actor.

    intfClass

    interface the typed actor implements

    targetClass

    implementation class of the typed actor

  33. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  34. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  35. def poisonPill (proxy: AnyRef): Unit

    Sends a PoisonPill to the TypedActor

  36. def proxyFor (actorRef: ActorRef): Option[AnyRef]

    Get the typed actor proxy for the given Typed Actor.

  37. def stop (proxy: AnyRef): Unit

    Stops the current Typed Actor.

  38. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  39. def toString (): String

    Definition Classes
    AnyRef → Any
  40. def unlink (supervisor: AnyRef, supervised: AnyRef): Unit

    Unlink the supervised Typed Actor from the supervisor.

    Unlink the supervised Typed Actor from the supervisor.

    supervisor

    the supervisor Typed Actor

    supervised

    the Typed Actor to unlink

  41. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def newRemoteInstance [T] (intfClass: Class[T], factory: TypedActorFactory, timeout: Long, hostname: String, port: Int): T

    Java API.

    Java API.

    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  2. def newRemoteInstance [T] (intfClass: Class[T], factory: TypedActorFactory, hostname: String, port: Int): T

    Java API.

    Java API.

    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  3. def newRemoteInstance [T] (intfClass: Class[T], factory: ⇒ AnyRef, timeout: Long, hostname: String, port: Int): T

    Factory method for remote typed actor.

    Factory method for remote typed actor.

    intfClass

    interface the typed actor implements

    factory

    factory method that constructs the typed actor

    timeout

    timeout for future

    port

    port of the remote server

    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  4. def newRemoteInstance [T] (intfClass: Class[T], targetClass: Class[_], timeout: Long, hostname: String, port: Int): T

    Factory method for remote typed actor.

    Factory method for remote typed actor.

    intfClass

    interface the typed actor implements

    targetClass

    implementation class of the typed actor

    timeout

    timeout for future

    port

    port of the remote server

    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  5. def newRemoteInstance [T] (intfClass: Class[T], factory: ⇒ AnyRef, hostname: String, port: Int): T

    Factory method for remote typed actor.

    Factory method for remote typed actor.

    intfClass

    interface the typed actor implements

    factory

    factory method that constructs the typed actor

    port

    port of the remote server

    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  6. def newRemoteInstance [T] (intfClass: Class[T], targetClass: Class[_], hostname: String, port: Int): T

    Factory method for remote typed actor.

    Factory method for remote typed actor.

    intfClass

    interface the typed actor implements

    targetClass

    implementation class of the typed actor

    port

    port of the remote server

    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

Inherited from AnyRef

Inherited from Any