All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webswing.ext.services.JsLinkService Maven / Gradle / Ivy

There is a newer version: 20.2.4
Show newest version
package org.webswing.ext.services;

import java.lang.reflect.Method;

import netscape.javascript.JSException;

import org.webswing.model.jslink.JavaEvalRequestMsgIn;
import org.webswing.model.jslink.JsParamMsg;
import org.webswing.model.jslink.JsResultMsg;

public interface JsLinkService {

	public JsParamMsg generateParam(Object arg) throws Exception;

	public JsResultMsg generateJavaResult(JavaEvalRequestMsgIn javaReq, Object result) throws Exception;

	public JsResultMsg generateJavaErrorResult(JavaEvalRequestMsgIn javaReq, Throwable result);

	public Object parseValue(JsParamMsg value) throws JSException;

	public Object[] getCompatibleParams(JavaEvalRequestMsgIn javaReq, Method m) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy