@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface OnParentUpdate
Marks a method to be called in a class when a parent node has processed an
event. This gives more granular notification than OnEvent, by identifying
which parents have updated. The marked method has a single argument, the type
of the parent. Optionally a value can set which is the field name of the
parent monitored. Multiple methods can be marked for each parent.
Identifying which parent has changed can be useful in applications. The
marked method(s) will be invoked before any OnEvent methods in this node.
- Author:
- Greg Higgins