org.apache.cxf.common.classloader
Class JAXBClassLoaderUtils
java.lang.Object
org.apache.cxf.common.classloader.JAXBClassLoaderUtils
public final class JAXBClassLoaderUtils
- extends Object
Method Summary |
static Object |
createTypeReference(QName n,
Class<?> cls)
The TypeReference class is a sun specific class that is found in two different
locations depending on environment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createTypeReference
public static Object createTypeReference(QName n,
Class<?> cls)
- The TypeReference class is a sun specific class that is found in two different
locations depending on environment. In IBM JDK the class is not available at all.
So we have to load it at runtime.
- Parameters:
n
- cls
-
- Returns:
- initiated TypeReference
Apache CXF