|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.xml.DelegatingNutsFunction
jfun.yan.xml.SynchronizedNutsFunction
public class SynchronizedNutsFunction
A synchronization wrapper for NutsFunction. Calls through this class are synchronized.
| Constructor Summary | |
|---|---|
SynchronizedNutsFunction(NutsFunction fun)
To create a SynchronizedNutsFunction object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
call(java.lang.Object[] args)
synchronize against "this", then forward the call to the delegate target. |
boolean |
equals(java.lang.Object obj)
|
| Methods inherited from class jfun.yan.xml.DelegatingNutsFunction |
|---|
getDelegateTarget, getLocation, getName, getParameterCount, getParameterNames, getReturnType, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SynchronizedNutsFunction(NutsFunction fun)
fun - the NutsFunction object to synchronize access to.| Method Detail |
|---|
public java.lang.Object call(java.lang.Object[] args)
call in interface NutsFunctioncall in class DelegatingNutsFunctionargs - the arguments.
public boolean equals(java.lang.Object obj)
equals in class DelegatingNutsFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||