org.apache.commons.clazz.reflect.common
Class ReflectedMethodOperation

java.lang.Object
  extended by org.apache.commons.clazz.common.ClazzElementSupport
      extended by org.apache.commons.clazz.common.ClazzFeatureSupport
          extended by org.apache.commons.clazz.reflect.common.ReflectedMethodFeatureSupport
              extended by org.apache.commons.clazz.reflect.common.ReflectedMethodOperation
All Implemented Interfaces:
ClazzElement, ClazzFeature, ClazzOperation

public class ReflectedMethodOperation
extends ReflectedMethodFeatureSupport
implements ClazzOperation

A ClazzOperation that is a wrapper for a java method.

Version:
$Id: ReflectedMethodOperation.java 155436 2005-02-26 13:17:48Z dirkv $
Author:
Dmitri Plotnikov

Constructor Summary
ReflectedMethodOperation(Clazz declaringClazz, Method method)
          Constructor for ReflectedMethodOperation.
 
Method Summary
 Object invoke(Object target, Object[] parameters)
           
 
Methods inherited from class org.apache.commons.clazz.reflect.common.ReflectedMethodFeatureSupport
getMethod, getName, getParameterClazzes, getReturnClazz, getSignature, toString
 
Methods inherited from class org.apache.commons.clazz.common.ClazzFeatureSupport
getDeclaringClazz
 
Methods inherited from class org.apache.commons.clazz.common.ClazzElementSupport
getAttribute, getAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.clazz.ClazzOperation
getName, getParameterClazzes, getReturnClazz, getSignature
 
Methods inherited from interface org.apache.commons.clazz.ClazzFeature
getDeclaringClazz
 
Methods inherited from interface org.apache.commons.clazz.ClazzElement
getAttribute, getAttributes
 

Constructor Detail

ReflectedMethodOperation

public ReflectedMethodOperation(Clazz declaringClazz,
                                Method method)
Constructor for ReflectedMethodOperation.

Method Detail

invoke

public Object invoke(Object target,
                     Object[] parameters)
Specified by:
invoke in interface ClazzOperation
See Also:
ClazzOperation.invoke(Object, Object[])


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.