public static global::org.drools.logger.KnowledgeRuntimeLogger newFileLogger(global::[email protected] par0, global::java.lang.String par1) { global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.ThreadEnv; using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 14)){ return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.logger.KnowledgeRuntimeLogger>(@__env, @__env.CallStaticObjectMethodPtr(global::org.drools.logger.KnowledgeRuntimeLoggerFactory.staticClass, global::org.drools.logger.KnowledgeRuntimeLoggerFactory._newFileLogger0, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::[email protected]>(@__env, par0), global::net.sf.jni4net.utils.Convertor.ParStrongCp2J(par1)))); } }
public global::org.drools.logger.KnowledgeRuntimeLogger newConsoleLogger(global::[email protected] 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.logger.KnowledgeRuntimeLogger>(@__env, @__env.CallObjectMethodPtr(this, global::org.drools.logger.@__KnowledgeRuntimeLoggerFactoryService._newConsoleLogger2, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::[email protected]>(@__env, par0)))); } }
private static void removeEventListener7(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0) { // (Lorg/drools/event/process/ProcessEventListener;)V // (Lorg/drools/event/process/ProcessEventListener;)V global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); try { global::[email protected] @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::[email protected]>(@__env, @__obj); ((global::[email protected])(@__real)).removeEventListener(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::[email protected]>(@__env, par0)); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } }
private static global::net.sf.jni4net.utils.JniHandle getProcessEventListeners8(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj) { // ()Ljava/util/Collection; // ()Ljava/util/Collection; 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::[email protected] @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::[email protected]>(@__env, @__obj); @__return = global::net.sf.jni4net.utils.Convertor.FullC2J <global::java.util.Collection>(@__env, ((global::[email protected])(@__real)).getProcessEventListeners()); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }
public global::org.drools.logger.KnowledgeRuntimeLogger newThreadedFileLogger(global::[email protected] par0, global::java.lang.String par1, int 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.logger.KnowledgeRuntimeLogger>(@__env, @__env.CallObjectMethodPtr(this, global::org.drools.logger.@__KnowledgeRuntimeLoggerFactoryService._newThreadedFileLogger1, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::[email protected]>(@__env, par0), global::net.sf.jni4net.utils.Convertor.ParStrongCp2J(par1), global::net.sf.jni4net.utils.Convertor.ParPrimC2J(par2)))); } }