OPENJPA-2342.  Changed to use the getDeclaredInterfaceNames instead of getDeclaredInterfaceTypes.  All testing is looking good and should alleviate the problem of the classloading.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461751 13f79535-47bb-0310-9956-ffa450edef68