REFLEX.reflection
Class Intercession
java.lang.Object
|
+--REFLEX.reflection.Intercession
- All Implemented Interfaces:
- java.io.Serializable
- public abstract class Intercession
- extends java.lang.Object
- implements java.io.Serializable
Interface must be implemented by objects providing
intercessions through pre-post behaviour in the
RComponent's internal dispatcher.
|
Method Summary |
java.lang.Object |
post_method(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object result)
Post-method call behaviour for dispatcher to execute. |
java.lang.Object[] |
pre_method(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
Pre-0method call behaviour for the dispatcher to execute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Intercession
public Intercession()
pre_method
public java.lang.Object[] pre_method(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
- Pre-0method call behaviour for the dispatcher to execute.
- Parameters:
proxy - The calling object.m - The method to be trapped.args - An array of arguments passed to the method.- Returns:
- The arguments to pass to the delegated method.
post_method
public java.lang.Object post_method(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object result)
- Post-method call behaviour for dispatcher to execute.
- Parameters:
proxy - The calling object.m - The method to be trapped.args - An array of arguments passed to the method.- Returns:
- The arguments modified in the delegated method's post behaviour.