org.test4j.datafilling.filler.pojo
类 FactoryMethodFiller
java.lang.Object
org.test4j.datafilling.Filler
org.test4j.datafilling.filler.PoJoFiller
org.test4j.datafilling.filler.pojo.FactoryMethodFiller
public class FactoryMethodFiller
- extends PoJoFiller
|
方法摘要 |
Object |
newInstanceUseFactoryMethod(AttributeInfo attrinbute)
If no publicly accessible constructors are available, the best we can do
is to find a constructor (e.g. getInstance())
A candidate factory method is a method which returns the Class type |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryMethodFiller
public FactoryMethodFiller(DataFactory strategy,
Map<String,Type> argsTypeMap)
newInstanceUseFactoryMethod
public Object newInstanceUseFactoryMethod(AttributeInfo attrinbute)
throws Exception
- If no publicly accessible constructors are available, the best we can do
is to find a constructor (e.g. getInstance())
A candidate factory method is a method which returns the Class type
- 参数:
clazz - typeArgsMap - genericTypeArgs -
- 返回:
-
- 抛出:
Exception
Copyright © 2013. All rights reserved.