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 Object implements GeneratedClass
  • Field Details

    • ci

      private final ClassInfo ci
    • classLoaderVersion

      private final int classLoaderVersion
  • Constructor Details

    • LoadedGeneratedClass

      public LoadedGeneratedClass(ClassFactory cf, Class jvmClass)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: GeneratedClass
      Return the name of the generated class.
      Specified by:
      getName in interface GeneratedClass
    • newInstance

      public 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 Derby 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 Class<?> getJVMClass()