Package org.mozilla.javascript
Class InterfaceAdapter
- java.lang.Object
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(ContextFactory cf, Object target, Scriptable topScope, Object thisObject, Method method, Object[] args)
-
-
-
Method Detail
-
invoke
public Object invoke(ContextFactory cf, Object target, Scriptable topScope, Object thisObject, Method method, Object[] args)
-
-