Top Fields Constructors Methods
org.apache.derby.impl.services.reflect

public abstract Class LoadedGeneratedClass

extends Object
implements GeneratedClass
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.services.loader.GeneratedClass
Known Direct Subclasses
org.apache.derby.impl.services.reflect.ReflectGeneratedClass
Imports
org.apache.derby.iapi.services.loader.GeneratedByteCode, .GeneratedClass, .ClassFactory, .ClassInfo, org.apache.derby.iapi.services.context.Context, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.SQLState

Field Summary

Modifier and TypeField and Description
private final ClassInfo
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final int
getClassLoaderVersion()

Implements org.apache.derby.iapi.services.loader.GeneratedClass.getClassLoaderVersion.

Return the class reload version that this class was built at.

protected Class<?>
public String
getName()

Implements org.apache.derby.iapi.services.loader.GeneratedClass.getName.

Return the name of the generated class.

public Object
newInstance(Context
Context for the class
context
)

Implements org.apache.derby.iapi.services.loader.GeneratedClass.newInstance.

Return a new object that is an instance of the represented class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ciback to summary
private final ClassInfo ci
classLoaderVersionback to summary
private final int classLoaderVersion

Constructor Detail

LoadedGeneratedClassback to summary
public LoadedGeneratedClass(ClassFactory cf, Class<T> jvmClass)

Method Detail

getClassLoaderVersionback to summary
public final int getClassLoaderVersion()

Implements org.apache.derby.iapi.services.loader.GeneratedClass.getClassLoaderVersion.

Doc from org.apache.derby.iapi.services.loader.GeneratedClass.getClassLoaderVersion.

Return the class reload version that this class was built at.

Returns:int

the class loader's version

getJVMClassback to summary
protected Class<?> getJVMClass()
getNameback to summary
public String getName()

Implements org.apache.derby.iapi.services.loader.GeneratedClass.getName.

Doc from org.apache.derby.iapi.services.loader.GeneratedClass.getName.

Return the name of the generated class.

Returns:String

the class name

newInstanceback to summary
public Object newInstance(Context context) throws StandardException

Implements org.apache.derby.iapi.services.loader.GeneratedClass.newInstance.

Doc from org.apache.derby.iapi.services.loader.GeneratedClass.newInstance.

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).

Parameters
context:Context

Context for the class

Returns:Object

an object of the indicated class

Exceptions
StandardException:
Standard Derby error policy