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

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

public class ReflectedMethodOperation
extends ReflectedMethodFeatureSupport
implements org.apache.commons.clazz.ClazzOperation

A ClazzOperation that is a wrapper for a java method.

Version:
$Id: ReflectedMethodOperation.java,v 1.4 2004/02/19 23:58:39 scolebourne Exp $
Author:
Dmitri Plotnikov

Constructor Summary
ReflectedMethodOperation(org.apache.commons.clazz.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(org.apache.commons.clazz.Clazz declaringClazz,
                                Method method)
Constructor for ReflectedMethodOperation.

Method Detail

invoke

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


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.