added prerestart and postrestart annotations and hooks into the supervisor fault handler for active objects

This commit is contained in:
Jonas Boner 2009-07-02 18:07:29 +02:00
parent 45bd6ebe5c
commit 5c99b4ed8d
11 changed files with 646 additions and 509 deletions

View file

@ -0,0 +1,11 @@
/**
* Copyright (C) 2009 Scalable Solutions.
*/
package se.scalablesolutions.akka.annotation;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface postrestart {}

View file

@ -0,0 +1,11 @@
/**
* Copyright (C) 2009 Scalable Solutions.
*/
package se.scalablesolutions.akka.annotation;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface prerestart {}