org.apache.commons.clazz.reflect.common
Class ReflectedMethodInstanceFactory
java.lang.Object
org.apache.commons.clazz.common.ClazzElementSupport
org.apache.commons.clazz.common.ClazzFeatureSupport
org.apache.commons.clazz.reflect.common.ReflectedMethodFeatureSupport
org.apache.commons.clazz.reflect.common.ReflectedMethodInstanceFactory
- All Implemented Interfaces:
- org.apache.commons.clazz.ClazzElement, org.apache.commons.clazz.ClazzFeature, org.apache.commons.clazz.ClazzInstanceFactory
- public class ReflectedMethodInstanceFactory
- extends ReflectedMethodFeatureSupport
- implements org.apache.commons.clazz.ClazzInstanceFactory
A wrapper for a static java method that returns an instance of the Clazz.
- Version:
- $Id: ReflectedMethodInstanceFactory.java,v 1.3 2004/02/19 23:58:39 scolebourne Exp $
- Author:
- Dmitri Plotnikov
| Methods inherited from interface org.apache.commons.clazz.ClazzInstanceFactory |
getName, getParameterClazzes, getSignature |
| Methods inherited from interface org.apache.commons.clazz.ClazzFeature |
getDeclaringClazz |
| Methods inherited from interface org.apache.commons.clazz.ClazzElement |
getAttribute, getAttributes |
ReflectedMethodInstanceFactory
public ReflectedMethodInstanceFactory(org.apache.commons.clazz.Clazz declaringClazz,
Method method)
- Constructor for ReflectedClazzProperty.
newInstance
public Object newInstance(Object[] parameters)
- Description copied from interface:
org.apache.commons.clazz.ClazzInstanceFactory
- Creates a new instance.
- Specified by:
newInstance in interface org.apache.commons.clazz.ClazzInstanceFactory
- Parameters:
parameters - is the list of parameters. It can be null if the
factory takes no parameters.
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.