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:
- ClazzElement, ClazzFeature, ClazzOperation
public abstract class BeanClazzOperation
- extends ClazzFeatureSupport
- implements ClazzOperation
- Version:
- $Id: BeanClazzOperation.java 155436 2005-02-26 13:17:48Z dirkv $
- Author:
- Dmitri Plotnikov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanClazzOperation
public BeanClazzOperation(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 ClazzOperation
- See Also:
ClazzOperation.getSignature()
getName
public String getName()
- Specified by:
getName
in interface ClazzOperation
- See Also:
ClazzOperation.getName()
getParameterClazzes
public Clazz[] getParameterClazzes()
- Specified by:
getParameterClazzes
in interface ClazzOperation
- See Also:
ClazzOperation.getParameterClazzes()
getReturnClazz
public Clazz getReturnClazz()
- Specified by:
getReturnClazz
in interface ClazzOperation
- See Also:
ClazzOperation.getReturnClazz()
invoke
public abstract 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.