Class Skeleton
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.toJavaPortable.Skeleton
-
-
Field Summary
Fields Modifier and Type Field Description protected InterfaceEntry
i
protected java.lang.String
intfName
protected java.util.Vector<MethodEntry>
methodList
protected boolean
poa
protected java.lang.String
skeletonClassName
private NameModifier
skeletonNameModifier
protected java.io.PrintWriter
stream
protected java.util.Hashtable
symbolTable
protected boolean
tie
protected java.lang.String
tieClassName
private NameModifier
tieNameModifier
-
Constructor Summary
Constructors Constructor Description Skeleton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addMethod(MethodEntry method)
private void
buildIDList(InterfaceEntry entry, java.util.Vector<java.lang.String> list)
protected void
buildMethodList()
Build a list of all of the methods, keeping out duplicates.private void
buildMethodList(InterfaceEntry entry)
protected void
closeStream()
Close the print stream, which flushes the stream to file.void
generate(java.util.Hashtable symbolTable, SymtabEntry entry)
protected void
init()
Initialize members unique to this generator.protected void
openStream()
protected void
writeBody()
protected void
writeClassDeclaration()
protected void
writeClosing()
Close the skeleton class.protected void
writeCORBAOperations()
protected void
writeCtors()
protected void
writeDispatchMethod()
protected void
writeHeading()
private void
writeIDs()
protected void
writeMethods()
protected void
writeMethodTable()
protected void
writeNonPOACORBAOperations()
protected void
writeOperations()
protected void
writePOACORBAOperations()
private void
writePOATieCtors()
private void
writePOATieFieldAccessMethods()
-
-
-
Field Detail
-
skeletonNameModifier
private NameModifier skeletonNameModifier
-
tieNameModifier
private NameModifier tieNameModifier
-
symbolTable
protected java.util.Hashtable symbolTable
-
i
protected InterfaceEntry i
-
stream
protected java.io.PrintWriter stream
-
tieClassName
protected java.lang.String tieClassName
-
skeletonClassName
protected java.lang.String skeletonClassName
-
tie
protected boolean tie
-
poa
protected boolean poa
-
methodList
protected java.util.Vector<MethodEntry> methodList
-
intfName
protected java.lang.String intfName
-
-
Method Detail
-
generate
public void generate(java.util.Hashtable symbolTable, SymtabEntry entry)
-
init
protected void init()
Initialize members unique to this generator.
-
openStream
protected void openStream()
-
writeHeading
protected void writeHeading()
-
writeClassDeclaration
protected void writeClassDeclaration()
-
writeBody
protected void writeBody()
-
writeClosing
protected void writeClosing()
Close the skeleton class. The singleton ORB member is necessary only for portable skeletons.
-
closeStream
protected void closeStream()
Close the print stream, which flushes the stream to file.
-
writeCtors
protected void writeCtors()
-
writePOATieCtors
private void writePOATieCtors()
-
writePOATieFieldAccessMethods
private void writePOATieFieldAccessMethods()
-
buildMethodList
protected void buildMethodList()
Build a list of all of the methods, keeping out duplicates.
-
buildMethodList
private void buildMethodList(InterfaceEntry entry)
-
addMethod
private void addMethod(MethodEntry method)
-
writeDispatchMethod
protected void writeDispatchMethod()
-
writeMethodTable
protected void writeMethodTable()
-
writeMethods
protected void writeMethods()
-
writeIDs
private void writeIDs()
-
buildIDList
private void buildIDList(InterfaceEntry entry, java.util.Vector<java.lang.String> list)
-
writeCORBAOperations
protected void writeCORBAOperations()
-
writePOACORBAOperations
protected void writePOACORBAOperations()
-
writeNonPOACORBAOperations
protected void writeNonPOACORBAOperations()
-
writeOperations
protected void writeOperations()
-
-