Package org.apache.xbean.recipe
Class ReflectionUtil.ConstructorFactory
- java.lang.Object
-
- org.apache.xbean.recipe.ReflectionUtil.ConstructorFactory
-
- All Implemented Interfaces:
ReflectionUtil.Factory
- Enclosing class:
- ReflectionUtil
public static class ReflectionUtil.ConstructorFactory extends java.lang.Object implements ReflectionUtil.Factory
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.Constructor
constructor
private java.util.List<java.lang.String>
parameterNames
-
Constructor Summary
Constructors Constructor Description ConstructorFactory(java.lang.reflect.Constructor constructor, java.util.List<java.lang.String> parameterNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
create(java.lang.Object... parameters)
java.util.List<java.lang.String>
getParameterNames()
java.util.List<java.lang.reflect.Type>
getParameterTypes()
-
-
-
Method Detail
-
getParameterNames
public java.util.List<java.lang.String> getParameterNames()
- Specified by:
getParameterNames
in interfaceReflectionUtil.Factory
-
getParameterTypes
public java.util.List<java.lang.reflect.Type> getParameterTypes()
- Specified by:
getParameterTypes
in interfaceReflectionUtil.Factory
-
create
public java.lang.Object create(java.lang.Object... parameters) throws ConstructionException
- Specified by:
create
in interfaceReflectionUtil.Factory
- Throws:
ConstructionException
-
-