org.formaria.aria
Class MethodReference

java.lang.Object
  extended by org.formaria.aria.MethodReference
Direct Known Subclasses:
PojoMethodReference

public class MethodReference
extends java.lang.Object

A holder for method related information

Copyright (c) Formaria Ltd., 2008

License: see license.txt


Field Summary
 java.lang.Object[] args
           
 java.lang.Class clazz
           
 java.lang.Object instance
           
 java.lang.reflect.Method method
           
 
Constructor Summary
MethodReference(java.lang.Class cls, java.lang.Object ownerInstance, java.lang.reflect.Method m, java.lang.Object[] arguments)
          Create a new method reference
 
Method Summary
 void updateArgs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

public java.lang.Class clazz

method

public java.lang.reflect.Method method

instance

public java.lang.Object instance

args

public java.lang.Object[] args
Constructor Detail

MethodReference

public MethodReference(java.lang.Class cls,
                       java.lang.Object ownerInstance,
                       java.lang.reflect.Method m,
                       java.lang.Object[] arguments)
Create a new method reference

Parameters:
cls - the class containing teh method
ownerInstance - the instance of the object containing the method
m - the method
arguments - the argument values
Method Detail

updateArgs

public void updateArgs()