Removing the old Supervision-DSL and replacing it with a temporary one

This commit is contained in:
Viktor Klang 2011-09-30 14:52:07 +02:00
parent d9cc9e3105
commit 69768dbc96
30 changed files with 69 additions and 483 deletions

View file

@ -4,10 +4,8 @@
package akka.serialization
import akka.config.Supervision._
import akka.actor.{ uuidFrom, newUuid }
import akka.actor._
import DeploymentConfig._
import akka.actor.DeploymentConfig._
import akka.dispatch.Envelope
import akka.util.{ ReflectiveAccess, Duration }
import akka.event.EventHandler
@ -192,14 +190,6 @@ object ActorSerialization {
case e: Exception Stack[PartialFunction[Any, Unit]]()
}
val storedLifeCycle =
if (protocol.hasLifeCycle) {
protocol.getLifeCycle.getLifeCycle match {
case LifeCycleType.PERMANENT Permanent
case LifeCycleType.TEMPORARY Temporary
}
} else LifeCycleType.PERMANENT
val storedSupervisor =
if (protocol.hasSupervisor) Some(RemoteActorSerialization.fromProtobufToRemoteActorRef(protocol.getSupervisor, loader))
else None