|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.testextensions.AccessFactory
public final class AccessFactory
The class AccessFactory
generates
AccessObjects from several start points.
Method Summary | |
---|---|
static AccessObject |
newInstance(String aClassName)
The method newInstance create a new instance of a class,
using a constructor without arguments. |
static AccessObject |
newInstance(String aClassName,
Object[] aParameters)
The method newInstance create a new instance of a class,
using a constructor which suites to the arguments. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AccessObject newInstance(String aClassName) throws TestExtensionException
newInstance
create a new instance of a class,
using a constructor without arguments.
aClassName
- the name of the class, which should be instantiated
TestExtensionException
- when errors occures during intantiationpublic static AccessObject newInstance(String aClassName, Object[] aParameters) throws TestExtensionException
newInstance
create a new instance of a class,
using a constructor which suites to the arguments.
aClassName
- the name of the class, which should be instantiatedaParameters
- the parameter for the constructor
TestExtensionException
- when errors occures during instantiation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |