20110605, rgf

org.rexxla.bsf.engines.rexx
Class Java4Rexx

java.lang.Object
  extended by org.rexxla.bsf.engines.rexx.Java4Rexx

 class Java4Rexx
extends java.lang.Object

Java class to allow Rexx to invoke BSF4ooRexx via JNI, after the JVM was created.

"BSF4ooRexx.BsfLoadJava()" will create a JVM, load this class and then invoke the static method createInterface4Rexx(). This method creates an instance of BSFManager and uses it to load an instance of the Rexx engine, which allows to initialize the "BSF4ooRexx" link library.

To make sure that upon return from the static method createInterface4Rexx() the reference to the Rexx engine object received via RexxEngine.getRexxInterface(), a global reference is created via JNI while executing the method RexxAndJava.jniInitialize4Rexx(), which calls into the BSF4ooRexx-DLL.

------------------------ Apache Version 2.0 license -------------------------
    Copyright (C) 2001-2009 Rony G. Flatscher

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 ----------------------------------------------------------------------------- 

Version:
4.0 (needs new APIs), 2009-05-31
Author:
Rony G. Flatscher (WU-Wien/Wirtschaftsuniversität Wien, http://www.wu-wien.ac.at/english)

Field Summary
static java.lang.String version
          Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.
 
Constructor Summary
Java4Rexx()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static java.lang.String version
Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.

Constructor Detail

Java4Rexx

Java4Rexx()

20110605, rgf