bsh
Class XThis.Handler

java.lang.Object
  |
  +--bsh.XThis.Handler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler, java.io.Serializable
Enclosing class:
XThis

class XThis.Handler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable

This is the invocation handler for the dynamic proxy.

Notes: Inner class for the invocation handler seems to shield this unavailable interface from JDK1.2 VM... I don't understand this. JThis works just fine even if those classes aren't there (doesn't it?) This class shouldn't be loaded if an XThis isn't instantiated in NameSpace.java, should it?


Constructor Summary
(package private) XThis.Handler()
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 java.lang.Object invokeImpl(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
 

Constructor Detail

XThis.Handler

XThis.Handler()
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws EvalError
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
EvalError

invokeImpl

public java.lang.Object invokeImpl(java.lang.Object proxy,
                                   java.lang.reflect.Method method,
                                   java.lang.Object[] args)
                            throws EvalError
EvalError