org.apache.derby.impl.services.reflect
Class ReflectMethod

java.lang.Object
  extended byorg.apache.derby.impl.services.reflect.ReflectMethod
All Implemented Interfaces:
GeneratedMethod

class ReflectMethod
extends java.lang.Object
implements GeneratedMethod


Field Summary
private  java.lang.reflect.Method realMethod
           
 
Constructor Summary
(package private) ReflectMethod(java.lang.reflect.Method m)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object ref)
          Invoke a generated method that has no arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

realMethod

private final java.lang.reflect.Method realMethod
Constructor Detail

ReflectMethod

ReflectMethod(java.lang.reflect.Method m)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object ref)
                        throws StandardException
Description copied from interface: GeneratedMethod
Invoke a generated method that has no arguments. (Similar to java.lang.refect.Method.invoke) Returns the value returned by the method.

Specified by:
invoke in interface GeneratedMethod
Throws:
StandardException - Standard Cloudscape error policy


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