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

All Known Implementing Classes:
LoadedGeneratedClass

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

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


newInstance

public 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 Cloudscape error policy

getMethod

public 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 Cloudscape error policy

getClassLoaderVersion

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


Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.