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:
- ClazzElement, ClazzFeature, ClazzInstanceFactory
public class ReflectedMethodInstanceFactory
- extends ReflectedMethodFeatureSupport
- implements ClazzInstanceFactory
A wrapper for a static java method that returns an instance of the Clazz.
- Version:
- $Id: ReflectedMethodInstanceFactory.java 155436 2005-02-26 13:17:48Z dirkv $
- Author:
- Dmitri Plotnikov
ReflectedMethodInstanceFactory
public ReflectedMethodInstanceFactory(Clazz declaringClazz,
Method method)
- Constructor for ReflectedClazzProperty.
newInstance
public Object newInstance(Object[] parameters)
- Description copied from interface:
ClazzInstanceFactory
- Creates a new instance.
- Specified by:
newInstance
in interface ClazzInstanceFactory
- Parameters:
parameters
- is the list of parameters. It can be null if the
factory takes no parameters.
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.