org.springframework.scripting.bsh
Class BshScriptUtils.BshObjectInvocationHandler

java.lang.Object
  extended by org.springframework.scripting.bsh.BshScriptUtils.BshObjectInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
Enclosing class:
BshScriptUtils

private static class BshScriptUtils.BshObjectInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

InvocationHandler that invokes a BeanShell script method.


Field Summary
private  XThis xt
           
 
Constructor Summary
BshScriptUtils.BshObjectInvocationHandler(XThis xt)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
private  boolean isProxyForSameBshObject(java.lang.Object other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xt

private final XThis xt
Constructor Detail

BshScriptUtils.BshObjectInvocationHandler

public BshScriptUtils.BshObjectInvocationHandler(XThis xt)
Method Detail

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

isProxyForSameBshObject

private boolean isProxyForSameBshObject(java.lang.Object other)