elf
Class SchemeInvocationHandler
java.lang.Object
elf.SchemeInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class SchemeInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
This InvocationHandler takes a Scheme procedure that is called on
each invoke() with arguments proxy, method and args (the Object[]
of arguments.
For examples of this, see the
Scheme2000
paper, and
http://developer.java.sun.com/developer/TechTips/2000/tt0530.html
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemeInvocationHandler
public SchemeInvocationHandler(Procedure proc)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable