org.apache.derby.impl.services.bytecode
Class GClass
java.lang.Object
org.apache.derby.impl.services.bytecode.GClass
- All Implemented Interfaces:
- ClassBuilder
- Direct Known Subclasses:
- BCClass
public abstract class GClass
- extends java.lang.Object
- implements ClassBuilder
This is a common superclass for the various impls.
Saving class files is a common thing to do.
Method Summary |
java.lang.String |
getFullName()
the class's qualified name |
GeneratedClass |
getGeneratedClass()
Fully create the bytecode and load the
class using the ClassBuilder's ClassFactory. |
(package private) void |
validateType(java.lang.String typeName1)
|
protected void |
writeClassFile(java.lang.String dir,
boolean logMessage,
java.lang.Throwable t)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytecode
protected ByteArray bytecode
cf
protected final ClassFactory cf
qualifiedName
protected final java.lang.String qualifiedName
GClass
public GClass(ClassFactory cf,
java.lang.String qualifiedName)
getFullName
public java.lang.String getFullName()
- Description copied from interface:
ClassBuilder
- the class's qualified name
- Specified by:
getFullName
in interface ClassBuilder
getGeneratedClass
public GeneratedClass getGeneratedClass()
throws StandardException
- Description copied from interface:
ClassBuilder
- Fully create the bytecode and load the
class using the ClassBuilder's ClassFactory.
- Specified by:
getGeneratedClass
in interface ClassBuilder
- Throws:
StandardException
- Standard Derby policy
writeClassFile
protected void writeClassFile(java.lang.String dir,
boolean logMessage,
java.lang.Throwable t)
throws StandardException
- Throws:
StandardException
validateType
final void validateType(java.lang.String typeName1)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.