org.apache.derby.impl.services.reflect
Class LoadedGeneratedClass
java.lang.Object
org.apache.derby.impl.services.reflect.LoadedGeneratedClass
- All Implemented Interfaces:
- GeneratedClass
- Direct Known Subclasses:
- ReflectGeneratedClass
- public abstract class LoadedGeneratedClass
- extends java.lang.Object
- implements GeneratedClass
Method Summary |
int |
getClassLoaderVersion()
Return the class reload version that this class was built at. |
protected java.lang.Class |
getJVMClass()
|
java.lang.String |
getName()
Return the name of the generated class. |
java.lang.Object |
newInstance(Context context)
Return a new object that is an instance of the represented
class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ci
private final ClassInfo ci
classLoaderVersion
private final int classLoaderVersion
LoadedGeneratedClass
public LoadedGeneratedClass(ClassFactory cf,
java.lang.Class jvmClass)
getName
public java.lang.String getName()
- Description copied from interface:
GeneratedClass
- Return the name of the generated class.
- Specified by:
getName
in interface GeneratedClass
newInstance
public java.lang.Object newInstance(Context context)
throws StandardException
- Description copied from interface:
GeneratedClass
- Return a new object that is an instance of the represented
class. The object will have been initialised by the no-arg
constructor of the represneted class.
(Similar to java.lang.Class.newInstance).
- Specified by:
newInstance
in interface GeneratedClass
- Throws:
StandardException
- Standard Cloudscape error policy
getClassLoaderVersion
public final int getClassLoaderVersion()
- Description copied from interface:
GeneratedClass
- Return the class reload version that this class was built at.
- Specified by:
getClassLoaderVersion
in interface GeneratedClass
getJVMClass
protected java.lang.Class getJVMClass()
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.