Class ObjectFactoryImpl

  • All Implemented Interfaces:
    ITestObjectFactory

    public class ObjectFactoryImpl
    extends java.lang.Object
    implements ITestObjectFactory
    Default factory for test creation. Note that if no constructor is found matching the specified parameters, this factory will try to invoke a constructor that takes in a string object
    Since:
    5.6
    • Constructor Detail

      • ObjectFactoryImpl

        public ObjectFactoryImpl()
    • Method Detail

      • newInstance

        public <T> T newInstance​(java.lang.reflect.Constructor<T> constructor,
                                 java.lang.Object... params)
        Specified by:
        newInstance in interface ITestObjectFactory