org.apache.xbean.recipe
Class ReflectionUtil.StaticFactory

java.lang.Object
  extended by org.apache.xbean.recipe.ReflectionUtil.StaticFactory
All Implemented Interfaces:
ReflectionUtil.Factory
Enclosing class:
ReflectionUtil

public static class ReflectionUtil.StaticFactory
extends java.lang.Object
implements ReflectionUtil.Factory


Constructor Summary
ReflectionUtil.StaticFactory(java.lang.reflect.Method staticFactory, java.util.List<java.lang.String> parameterNames)
           
 
Method Summary
 java.lang.Object create(java.lang.Object... parameters)
           
 java.util.List<java.lang.String> getParameterNames()
           
 java.util.List<java.lang.reflect.Type> getParameterTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtil.StaticFactory

public ReflectionUtil.StaticFactory(java.lang.reflect.Method staticFactory,
                                    java.util.List<java.lang.String> parameterNames)
Method Detail

getParameterNames

public java.util.List<java.lang.String> getParameterNames()
Specified by:
getParameterNames in interface ReflectionUtil.Factory

getParameterTypes

public java.util.List<java.lang.reflect.Type> getParameterTypes()
Specified by:
getParameterTypes in interface ReflectionUtil.Factory

create

public java.lang.Object create(java.lang.Object... parameters)
                        throws ConstructionException
Specified by:
create in interface ReflectionUtil.Factory
Throws:
ConstructionException


Copyright © 2005-2011. All Rights Reserved.