javax.script
Interface Invocable


public interface Invocable

Version:
$Revision: 553 $ $Date: 2009-03-27 06:04:43 +0100(ven, 27 mar 2009) $

Method Summary
<T> T
getInterface(Class<T> clazz)
           
<T> T
getInterface(Object thiz, Class<T> clazz)
           
 Object invokeFunction(String name, Object... args)
           
 Object invokeMethod(Object thiz, String name, Object... args)
           
 

Method Detail

invokeMethod

Object invokeMethod(Object thiz,
                    String name,
                    Object... args)
                    throws ScriptException,
                           NoSuchMethodException
Throws:
ScriptException
NoSuchMethodException

invokeFunction

Object invokeFunction(String name,
                      Object... args)
                      throws ScriptException,
                             NoSuchMethodException
Throws:
ScriptException
NoSuchMethodException

getInterface

<T> T getInterface(Class<T> clazz)

getInterface

<T> T getInterface(Object thiz,
                   Class<T> clazz)


Copyright © 2006-2011 LiveTribe. All Rights Reserved.