Can't set actor life-cycle through the context in the Java API
Is there currently a Java API equivalent of self.lifeCycle = Permanent?
The Akka/Java docs say:
import static akka.config.Supervision.*;
getContext().setLifeCycle(permanent());
But:
getContext().setLifeCycle(...) doesn't exist in 1.0-M1
permanent() doesn't exist in 1.0-M1 (as far as I can see)
I found se.scalablesolutions.akka.config.Supervision.LifeCycle but I don't know how it fits into the equation.
The Akka/Java docs say:
import static akka.config.Supervision.*;
getContext().setLifeCycle(permanent());
But:
getContext().setLifeCycle(...) doesn't exist in 1.0-M1
permanent() doesn't exist in 1.0-M1 (as far as I can see)
I found se.scalablesolutions.akka.config.Supervision.LifeCycle but I don't know how it fits into the equation.
Leave a comment
on 2010-11-21 14:07 *
By viktorklang
Assigned to set to viktorklang
Status changed from New to Accepted
on 2010-11-21 14:11 *
By viktorklang
Fixed in master.