|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--REFLEX.reflection.Delegation
All behaviour classes must be implemented by objects providing dispatcher delegated methods. Therefore behavioural objects usually extend from this class.
| Constructor Summary | |
Delegation()
|
|
| Method Summary | |
abstract java.lang.Object |
delegate(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
Delegated method behaviour for the dispatcher to call for the exported public component interface. |
boolean |
delegateCondition(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
Set a condition on the delegation. |
boolean |
fireNotification()
Override this method to return true if event notification to
remote listeners is required for this method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Delegation()
| Method Detail |
public abstract java.lang.Object delegate(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
proxy - The calling object.m - The method to be trapped.args - An array of arguments passed to the method.
public boolean delegateCondition(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
proxy - The calling object.m - The method being invoked by the proxy.args - An array of arguments passed to the method.true if the delegation can proceed, otherwise false.public boolean fireNotification()
true if event notification to
remote listeners is required for this method. If enabled then all listeners
for the particular RComponent will be notified when this method is invoked.
true to enable remote event notification to any
registered listeners for this RComponent when this particular method delegation
occurs. If set to return false then the delegation does not
fire any events for this particular method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||