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
-
-
Constructor Summary
Constructors Constructor and Description LoadedGeneratedClass(ClassFactory cf, java.lang.Class jvmClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetClassLoaderVersion()Return the class reload version that this class was built at.java.lang.StringgetName()Return the name of the generated class.java.lang.ObjectnewInstance(Context context)Return a new object that is an instance of the represented class.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.derby.iapi.services.loader.GeneratedClass
getMethod
-
-
-
-
Constructor Detail
-
LoadedGeneratedClass
public LoadedGeneratedClass(ClassFactory cf, java.lang.Class jvmClass)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:GeneratedClassReturn the name of the generated class.- Specified by:
getNamein interfaceGeneratedClass
-
newInstance
public java.lang.Object newInstance(Context context) throws StandardException
Description copied from interface:GeneratedClassReturn 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:
newInstancein interfaceGeneratedClass- Throws:
StandardException- Standard Derby error policy
-
getClassLoaderVersion
public final int getClassLoaderVersion()
Description copied from interface:GeneratedClassReturn the class reload version that this class was built at.- Specified by:
getClassLoaderVersionin interfaceGeneratedClass
-
-
DataMelt 3.0 © DataMelt by jWork.ORG