org.apache.derby.impl.services.reflect
Class ReflectGeneratedClass
java.lang.Object
org.apache.derby.impl.services.reflect.LoadedGeneratedClass
org.apache.derby.impl.services.reflect.ReflectGeneratedClass
- All Implemented Interfaces:
- GeneratedClass
- public final class ReflectGeneratedClass
- extends LoadedGeneratedClass
Method Summary |
GeneratedMethod |
getMethod(java.lang.String simpleName)
Obtain a handle to the method with the given name
that takes no arguments. |
java.lang.Object |
newInstance(Context context)
Return a new object that is an instance of the represented
class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methodCache
private final java.util.Hashtable methodCache
directs
private static final GeneratedMethod[] directs
factoryClass
private final java.lang.Class factoryClass
factory
private GCInstanceFactory factory
ReflectGeneratedClass
public ReflectGeneratedClass(ClassFactory cf,
java.lang.Class jvmClass,
java.lang.Class factoryClass)
newInstance
public java.lang.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
- Overrides:
newInstance
in class LoadedGeneratedClass
- Throws:
StandardException
getMethod
public GeneratedMethod getMethod(java.lang.String simpleName)
throws StandardException
- Description copied from interface:
GeneratedClass
- Obtain a handle to the method with the given name
that takes no arguments.
- Throws:
StandardException
- Standard Cloudscape error policy
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.