WW-4244: changed to use objectFactory.buildBean() to create bean instead
of  clazz.newInstance()