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

java.lang.Object
  extended by org.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
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 Derby error policy

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

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