private static void setOption2(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0)
 {
     // (Lorg/drools/runtime/conf/KnowledgeSessionOption;)V
     // (Lorg/drools/runtime/conf/KnowledgeSessionOption;)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::org.drools.runtime.KnowledgeSessionConfiguration @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, @__obj);
         ((global::org.drools.runtime.conf.KnowledgeSessionOptionsConfiguration)(@__real)).setOption(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.conf.KnowledgeSessionOption>(@__env, par0));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }
 private static void setProperty0(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/lang/String;Ljava/lang/String;)V
     // (Ljava/lang/String;Ljava/lang/String;)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::org.drools.runtime.KnowledgeSessionConfiguration @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, @__obj);
         ((global::org.drools.PropertiesConfiguration)(@__real)).setProperty(global::net.sf.jni4net.utils.Convertor.StrongJ2CpString(@__env, par0), global::net.sf.jni4net.utils.Convertor.StrongJ2CpString(@__env, par1));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }
 private static global::net.sf.jni4net.utils.JniHandle getOption4(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0)
 {
     // (Ljava/lang/Class;)Lorg/drools/runtime/conf/SingleValueKnowledgeSessionOption;
     // (Ljava/lang/Class;)Lorg/drools/runtime/conf/SingleValueKnowledgeSessionOption;
     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.runtime.KnowledgeSessionConfiguration @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, @__obj);
         @__return = global::net.sf.jni4net.utils.Convertor.FullC2J <global::org.drools.runtime.conf.SingleValueKnowledgeSessionOption>(@__env, ((global::org.drools.runtime.conf.KnowledgeSessionOptionsConfiguration)(@__real)).getOption(global::net.sf.jni4net.utils.Convertor.StrongJ2CpClass(@__env, par0)));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
     return(@__return);
 }
 private static global::net.sf.jni4net.utils.JniHandle getProperty1(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0)
 {
     // (Ljava/lang/String;)Ljava/lang/String;
     // (Ljava/lang/String;)Ljava/lang/String;
     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.runtime.KnowledgeSessionConfiguration @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, @__obj);
         @__return = global::net.sf.jni4net.utils.Convertor.StrongCp2J(((global::org.drools.PropertiesConfiguration)(@__real)).getProperty(global::net.sf.jni4net.utils.Convertor.StrongJ2CpString(@__env, par0)));
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
     return(@__return);
 }
Exemplo n.º 5
0
 public global::org.drools.runtime.StatelessKnowledgeSession newStatelessKnowledgeSession(global::org.drools.runtime.KnowledgeSessionConfiguration par0)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 12)){
         return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.StatelessKnowledgeSession>(@__env, @__env.CallObjectMethodPtr(this, global::org.drools.agent.@__KnowledgeAgent._newStatelessKnowledgeSession5, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, par0))));
     }
 }
Exemplo n.º 6
0
 public static global::org.drools.runtime.StatefulKnowledgeSession loadStatefulKnowledgeSession(int par0, global::org.drools.KnowledgeBase par1, global::org.drools.runtime.KnowledgeSessionConfiguration par2, global::org.drools.runtime.Environment par3)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.ThreadEnv;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 18)){
         return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.StatefulKnowledgeSession>(@__env, @__env.CallStaticObjectMethodPtr(global::org.drools.persistence.jpa.JPAKnowledgeService.staticClass, global::org.drools.persistence.jpa.JPAKnowledgeService._loadStatefulKnowledgeSession1, global::net.sf.jni4net.utils.Convertor.ParPrimC2J(par0), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.KnowledgeBase>(@__env, par1), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, par2), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.Environment>(@__env, par3))));
     }
 }
Exemplo n.º 7
0
 public global::org.drools.runtime.StatefulKnowledgeSession unmarshall(global::java.io.InputStream par0, global::org.drools.runtime.KnowledgeSessionConfiguration par1, global::org.drools.runtime.Environment par2)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 16)){
         return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.StatefulKnowledgeSession>(@__env, @__env.CallObjectMethodPtr(this, global::org.drools.marshalling.@__Marshaller._unmarshall1, global::net.sf.jni4net.utils.Convertor.ParStrongCp2J(par0), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, par1), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.Environment>(@__env, par2))));
     }
 }
 public global::org.drools.runtime.StatefulKnowledgeSession newStatefulKnowledgeSession(global::org.drools.KnowledgeBase par0, global::org.drools.runtime.KnowledgeSessionConfiguration par1, global::org.drools.runtime.Environment par2)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 16)){
         return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.StatefulKnowledgeSession>(@__env, @__env.CallObjectMethodPtr(this, global::org.drools.persistence.jpa.@__KnowledgeStoreService._newStatefulKnowledgeSession0, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.KnowledgeBase>(@__env, par0), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, par1), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.Environment>(@__env, par2))));
     }
 }
 public global::org.drools.runtime.StatefulKnowledgeSession loadStatefulKnowledgeSession(int par0, global::org.drools.KnowledgeBase par1, global::org.drools.runtime.KnowledgeSessionConfiguration par2, global::org.drools.runtime.Environment par3)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 18)){
         return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.StatefulKnowledgeSession>(@__env, @__env.CallObjectMethodPtr(this, global::org.drools.builder.@__JPAKnowledgeFactoryService._loadStatefulKnowledgeSession1, global::net.sf.jni4net.utils.Convertor.ParPrimC2J(par0), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.KnowledgeBase>(@__env, par1), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.KnowledgeSessionConfiguration>(@__env, par2), global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.Environment>(@__env, par3))));
     }
 }