Apache CXF API

org.apache.cxf.common.classloader
Class JAXBClassLoaderUtils

java.lang.Object
  extended by 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
 

Method Detail

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 API

Apache CXF