Class ObjectFactoryImpl

  • All Implemented Interfaces:
    IObjectFactory, ITestObjectFactory

    public class ObjectFactoryImpl
    extends java.lang.Object
    implements IObjectFactory
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object newInstance​(java.lang.reflect.Constructor constructor, java.lang.Object... params)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectFactoryImpl

        public ObjectFactoryImpl()
    • Method Detail

      • newInstance

        public java.lang.Object newInstance​(java.lang.reflect.Constructor constructor,
                                            java.lang.Object... params)
        Specified by:
        newInstance in interface IObjectFactory