|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.babel.backend.jdk.ServerJNI
Class ServerJNI
writes the JNI C code that links the Java
server to the IOR. The constructor takes a C language writer stream and
method generateCode
writes the C JNI code for the specified
symbol to the output stream. The language writer output stream is not
closed by this object.
Constructor Summary | |
ServerJNI(LanguageWriterForC writer)
Create a ServerJNI object that will write symbol
information to the provided output language writer stream. |
Method Summary | |
void |
generateCode(Extendable ext)
Write Java JNI information for the provided symbol to the language writer output stream provided in the class constructor. |
static void |
generateCode(Extendable symbol,
LanguageWriterForC writer)
This is a convenience utility function that writes the JNI server information into the provided language writer output stream. |
void |
generateCodeOld(Extendable ext)
Write Java JNI information for the provided symbol to the language writer output stream provided in the class constructor. |
void |
writeInitializeEPV(Extendable ext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerJNI(LanguageWriterForC writer)
ServerJNI
object that will write symbol
information to the provided output language writer stream.
Method Detail |
public static void generateCode(Extendable symbol, LanguageWriterForC writer) throws CodeGenerationException
CodeGenerationException
public void generateCode(Extendable ext) throws CodeGenerationException
CodeGenerationException
public void generateCodeOld(Extendable ext) throws CodeGenerationException
CodeGenerationException
public void writeInitializeEPV(Extendable ext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |