[BZ 1139542] Change newFactory() to newInstance() to support IBM JDK 1.6

(cherry picked from commit b0cdaefd53ce2bfb80e3b2d5439e56cf5936dd84)
(cherry picked from commit 8b8c1efdc1f74ff4f549bc2f331d426801a2cfee)

Signed-off-by: John Mazzitelli <mazz@redhat.com>