org.mozilla.javascript
Class InterfaceAdapter

java.lang.Object
  extended by org.mozilla.javascript.InterfaceAdapter

public class InterfaceAdapter
extends Object

Adapter to use JS function as implementation of Java interfaces with single method or multiple methods with the same signature.


Method Summary
 Object invoke(ContextFactory cf, Object target, Scriptable topScope, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public Object invoke(ContextFactory cf,
                     Object target,
                     Scriptable topScope,
                     Method method,
                     Object[] args)