2005/5/9

     
 

class JavaInterpreter

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::java::JavaInterpreter Class Reference

#include <JavaInterpreter.h>

Inheritance diagram for acdk::java::JavaInterpreter:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Representing the Java interpreter.

Author:
Roger Rene Kommer (kommer@artefaktur.com)
Version:
Revision
1.18
Date:
Date
2005/04/08 10:53:20


Public Member Functions

 JavaInterpreter ()
virtual ~JavaInterpreter ()
void callMain (IN(RString) clazz, IN(RStringArray) args)
 calls the static main of given class

RJavaObject getInstance (IN(RString) classname, ScriptVarArray &args)
void attachCurrentThread ()
JNIEnv * jenv ()
JavaVM * jvm ()

Static Public Member Functions

void exitViaJava ()
 This method should be called, if should be exit via Java not ACDK This is necessary if graphical (swing) functions was called.


Static Public Attributes

JavaInterpreter * curJInt

Protected Attributes

::acdk::lang::sys::specific<
JNIEnv * > 
_env
JavaVM * _jvm


Constructor & Destructor Documentation

acdk::java::JavaInterpreter::JavaInterpreter (   ) 
 

virtual acdk::java::JavaInterpreter::~JavaInterpreter (   )  [virtual]
 


Member Function Documentation

void acdk::java::JavaInterpreter::attachCurrentThread (   ) 
 

void acdk::java::JavaInterpreter::callMain (  IN(RString)  clazz,
IN(RStringArray)  args
) 
 

calls the static main of given class

void acdk::java::JavaInterpreter::exitViaJava (   )  [static]
 

This method should be called, if should be exit via Java not ACDK This is necessary if graphical (swing) functions was called.

RJavaObject acdk::java::JavaInterpreter::getInstance (  IN(RString)  classname,
ScriptVarArray &  args
) 
 

JNIEnv* acdk::java::JavaInterpreter::jenv (   )  [inline]
 

JavaVM* acdk::java::JavaInterpreter::jvm (   )  [inline]
 


Member Data Documentation

::acdk::lang::sys::specific<JNIEnv*> acdk::java::JavaInterpreter::_env [protected]
 

JavaVM* acdk::java::JavaInterpreter::_jvm [protected]
 

JavaInterpreter* acdk::java::JavaInterpreter::curJInt [static]