示例#1
0
 private static void unmarshall2(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0, global::net.sf.jni4net.utils.JniLocalHandle par1)
 {
     // (Ljava/io/InputStream;Lorg/drools/runtime/StatefulKnowledgeSession;)V
     // (Ljava/io/InputStream;Lorg/drools/runtime/StatefulKnowledgeSession;)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::org.drools.marshalling.Marshaller @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.marshalling.Marshaller>(@__env, @__obj);
         @__real.unmarshall(global::net.sf.jni4net.utils.Convertor.StrongJ2Cp <global::java.io.InputStream>(@__env, par0), global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.StatefulKnowledgeSession>(@__env, par1));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }
示例#2
0
 private static global::net.sf.jni4net.utils.JniHandle unmarshall1(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0, global::net.sf.jni4net.utils.JniLocalHandle par1, global::net.sf.jni4net.utils.JniLocalHandle par2)
 {
     // (Ljava/io/InputStream;Lorg/drools/runtime/KnowledgeSessionConfiguration;Lorg/drools/runtime/Environment;)Lorg/drools/runtime/StatefulKnowledgeSession;
     // (Ljava/io/InputStream;Lorg/drools/runtime/KnowledgeSessionConfiguration;Lorg/drools/runtime/Environment;)Lorg/drools/runtime/StatefulKnowledgeSession;
     global::net.sf.jni4net.jni.JNIEnv      @__env    = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle);
     try {
         global::org.drools.marshalling.Marshaller @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.marshalling.Marshaller>(@__env, @__obj);
         @__return = global::net.sf.jni4net.utils.Convertor.FullC2J <global::org.drools.runtime.StatefulKnowledgeSession>(@__env, @__real.unmarshall(global::net.sf.jni4net.utils.Convertor.StrongJ2Cp <global::java.io.InputStream>(@__env, par0), global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, par1), global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.Environment>(@__env, par2)));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
     return(@__return);
 }