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.
- Author:
- ames
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 Cloudscape policy
writeClassFile
protected void writeClassFile(java.lang.String dir,
boolean logMessage,
java.lang.Throwable t)
validateType
public final void validateType(java.lang.String typeName1)
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.