com.jmrosengard.xmlbroker.javaipr
Class JavaInterpreter
java.lang.Object
|
+--com.jmrosengard.xmlbroker.javaipr.JavaInterpreter
- public class JavaInterpreter
- extends java.lang.Object
Interprets the a method according to the following convension:
- Parameter type allowed: only Java.lang.String
- return type must be `void'--with no inconvenience since `out' parameters
are supported
- the method name contains the passing mode marks (in or out)
e.g. void foo__out__in(String param1, String param2)
Method Summary |
Method |
buildMethod()
Creates a com.jmrosengard.xmlbroker.soapipr.Method object from
a java interface. |
static void |
main(java.lang.String[] a)
Only for testing |
protected void |
validate()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
cls
private java.lang.Class cls
method
private java.lang.reflect.Method method
modes
private java.util.ArrayList modes
params
private java.lang.Class[] params
builder
private ModeQueueBuilder builder
JavaInterpreter
public JavaInterpreter(java.lang.Class cls)
validate
protected void validate()
throws JavaIprException
buildMethod
public Method buildMethod()
- Creates a com.jmrosengard.xmlbroker.soapipr.Method object from
a java interface.
main
public static void main(java.lang.String[] a)
- Only for testing