org.apache.commons.clazz.bean
Class BeanClazzOperation

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

public abstract class BeanClazzOperation
extends ClazzFeatureSupport
implements org.apache.commons.clazz.ClazzOperation

Version:
$Id: BeanClazzOperation.java,v 1.5 2004/02/19 23:58:38 scolebourne Exp $
Author:
Dmitri Plotnikov

Constructor Summary
BeanClazzOperation(org.apache.commons.clazz.Clazz declaringClazz, String returnClazzName, String name, String[] parameterClazzNames)
          Constructor for BeanClazzOperaiton.
 
Method Summary
 String getName()
           
 org.apache.commons.clazz.Clazz[] getParameterClazzes()
           
 org.apache.commons.clazz.Clazz getReturnClazz()
           
 String getSignature()
           
abstract  Object invoke(Object target, Object[] parameters)
           
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.clazz.ClazzFeature
getDeclaringClazz
 
Methods inherited from interface org.apache.commons.clazz.ClazzElement
getAttribute, getAttributes
 

Constructor Detail

BeanClazzOperation

public BeanClazzOperation(org.apache.commons.clazz.Clazz declaringClazz,
                          String returnClazzName,
                          String name,
                          String[] parameterClazzNames)
Constructor for BeanClazzOperaiton.

Parameters:
declaringClazz - the Clazz this Operation belongs to
returnClazzName - the return type of the operation, pass null for void.
name - the name of the operation.
parameterClazzNames - types of operation parameters, pass null if the operation does not take any parameters.
Method Detail

getSignature

public String getSignature()
Specified by:
getSignature in interface org.apache.commons.clazz.ClazzOperation
See Also:
ClazzOperation.getSignature()

getName

public String getName()
Specified by:
getName in interface org.apache.commons.clazz.ClazzOperation
See Also:
ClazzOperation.getName()

getParameterClazzes

public org.apache.commons.clazz.Clazz[] getParameterClazzes()
Specified by:
getParameterClazzes in interface org.apache.commons.clazz.ClazzOperation
See Also:
ClazzOperation.getParameterClazzes()

getReturnClazz

public org.apache.commons.clazz.Clazz getReturnClazz()
Specified by:
getReturnClazz in interface org.apache.commons.clazz.ClazzOperation
See Also:
ClazzOperation.getReturnClazz()

invoke

public abstract 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.