Added Java API constructor to supervision configuration

This commit is contained in:
Viktor Klang 2010-10-19 18:41:18 +02:00
parent 32592b46a7
commit df79b08d7e

View file

@ -30,6 +30,10 @@ object Supervision {
//Java API
def this(actorRef: ActorRef, lifeCycle: LifeCycle, remoteAddress: RemoteAddress) =
this(actorRef, lifeCycle, Option(remoteAddress))
//Java API
def this(actorRef: ActorRef, lifeCycle: LifeCycle) =
this(actorRef, lifeCycle, None)
}
object Supervise {