org.apache.derby.iapi.services.loader
Interface GeneratedClass

All Known Implementing Classes:
LoadedGeneratedClass, ReflectGeneratedClass

public interface GeneratedClass

A meta-class that represents a generated class. (Similar to java.lang.Class).


Method Summary
 int getClassLoaderVersion()
          Return the class reload version that this class was built at.
 GeneratedMethod getMethod(java.lang.String simpleName)
          Obtain a handle to the method with the given name that takes no arguments.
 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.
 

Method Detail

getName

java.lang.String getName()
Return the name of the generated class.


newInstance

java.lang.Object newInstance(Context context)
                             throws StandardException
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).

Throws:
StandardException - Standard Derby error policy

getMethod

GeneratedMethod getMethod(java.lang.String simpleName)
                          throws StandardException
Obtain a handle to the method with the given name that takes no arguments.

Throws:
StandardException - Standard Derby error policy

getClassLoaderVersion

int getClassLoaderVersion()
Return the class reload version that this class was built at.


Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.