Package com.vaadin.client.metadata
Class JsniInvoker
- java.lang.Object
-
- com.vaadin.client.metadata.JsniInvoker
-
-
Constructor Summary
Constructors Constructor Description JsniInvoker()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
invoke(Object target, Object... params)
protected abstract Object
jsniInvoke(Object target, JsArrayObject<Object> params)
Abstract method that will be generated to contain JSNI for invoking the actual method.
-
-
-
Method Detail
-
jsniInvoke
protected abstract Object jsniInvoke(Object target, JsArrayObject<Object> params)
Abstract method that will be generated to contain JSNI for invoking the actual method.- Parameters:
target
- the object upon which to invoke the methodparams
- a js array with arguments to pass to the method- Returns:
- the value returned by the invoked method, or
null
if the target method return type isvoid
.
-
-