ua.gradsoft.termware.jsr223
Class TermWareTermInvocationHandler

java.lang.Object
  extended by ua.gradsoft.termware.jsr223.TermWareTermInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class TermWareTermInvocationHandler
extends Object
implements InvocationHandler

Term invocation handler. O.f(x1...xN) interpreted as apply(o,f(x1,...xN)) in system of provided engine.

Author:
rssh

Constructor Summary
TermWareTermInvocationHandler(Term term, TermWareScriptEngine engine)
          Creates a new instance of TermWareInvokable
 
Method Summary
 Object invoke(Object proxy, Method m, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermWareTermInvocationHandler

public TermWareTermInvocationHandler(Term term,
                                     TermWareScriptEngine engine)
Creates a new instance of TermWareInvokable

Method Detail

invoke

public Object invoke(Object proxy,
                     Method m,
                     Object[] args)
              throws ScriptException,
                     NoSuchMethodException
Specified by:
invoke in interface InvocationHandler
Throws:
ScriptException
NoSuchMethodException