|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.backend.rmi2.GenerateRmiClient
public class GenerateRmiClient
This class is responsible for generating the Rmi client-side code. It will generate Rmi extension types for classes and interfaces, and it will generate native Rmi for enumerated types.
Constructor Summary | |
---|---|
GenerateRmiClient()
Create a Rmi client generator. |
Method Summary | |
---|---|
void |
generateCode(java.util.Set symbols)
Generate Rmi client-side code for each SymbolID in the
set argument. |
java.util.Set |
getLanguages()
Return the set of language names that this generator supports. |
java.lang.String |
getType()
Return the type of generator. |
boolean |
getUserSymbolsOnly()
Return true if and only if this code factory should
only operate on symbols outside the sidl namespace (i.e., exclude
symbols from the sidl runtime library). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenerateRmiClient()
Method Detail |
---|
public void generateCode(java.util.Set symbols) throws CodeGenerationException
SymbolID
in the
set argument. This is the initial entry point for generating the
client-side code. This routine assumes that all necessary symbols are
available in the symbol table. This method generates the client-side
code as a set of files and directories.
generateCode
in interface CodeGenerator
symbols
- a set of SymbolID
objects.
CodeGenerationException
- provide feedback when code generation fails for one reason or
another.SymbolID
public java.lang.String getType()
CodeGenerator
getType
in interface CodeGenerator
public boolean getUserSymbolsOnly()
CodeGenerator
true
if and only if this code factory should
only operate on symbols outside the sidl namespace (i.e., exclude
symbols from the sidl runtime library). This is typically true
for C and Python where the stubs for the sidl runtime library
are pregenerated. Generally, this should be true
for
anything other than a stub. Implementors do not need to worry
about the special case of generating the sidl runtime library
itself.
getUserSymbolsOnly
in interface CodeGenerator
public java.util.Set getLanguages()
CodeGenerator
getLanguages
in interface CodeGenerator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |