org.apache.commons.clazz.bean
Class BeanClazzOperation
java.lang.Object
org.apache.commons.clazz.common.ClazzElementSupport
org.apache.commons.clazz.common.ClazzFeatureSupport
org.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. |
| 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 |
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 toreturnClazzName - 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.
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.