ActorRef function ( final Creator < Actor > arg0 ) { return Actor$ . MODULE$ . actorOf ( arg0 ) ; }
note : use this convenience method with care , do not make it possible to get a reference to the untypedactor 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 untypedactor . only use this method when you need to pass in constructor arguments into the ` untypedactor ' . you use it by implementing the untypedactorfactory interface . example in java : actorref actor = actors.actorof new untypedactorfactory public untypedactor create return new myuntypedactor `` service : name '' , 5 ; ; actor.start ; actor.sendoneway message , context ; actor.stop ; concode_field_sep PlaceHolder placeHolder concode_field_sep ActorRegistry registry concode_elem_sep PoisonPill$ poisonPill concode_elem_sep ReceiveTimeout$ receiveTimeout concode_elem_sep RemoteSupport remote concode_elem_sep Kill$ kill