Package org.apache.uima.internal.util
Class Class_TCCL
- java.lang.Object
-
- org.apache.uima.internal.util.Class_TCCL
-
public class Class_TCCL extends java.lang.Object
Utilities supporting a unified approach to loading classes, incorporating the resource manager's classloader if available, and making use of the Thread Context Class Loader (TCCL) For backwards compatibility, if a class is not found using the Thread Context Class Loader, for classloading: try again using the class loader for this class since that's what the previous impl did, and some applications will break otherwise, with class-not-found. for resourceloading: try again using the Classloader.getSystemClassLoader, since that's what the previous impl did
-
-
Constructor Summary
Constructors Constructor Description Class_TCCL()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> java.lang.Class<T>
forName(java.lang.String className)
static <T> java.lang.Class<T>
forName(java.lang.String className, java.util.Map<java.lang.String,java.lang.Object> additionalParams)
static <T> java.lang.Class<T>
forName(java.lang.String className, ResourceManager rm)
static <T> java.lang.Class<T>
forName(java.lang.String className, ResourceManager rm, boolean resolve)
static java.lang.ClassLoader
get_cl(ResourceManager rm)
Deprecated.Method should not be used and will be removed in a future version.static java.lang.ClassLoader
get_parent_cl()
Deprecated.Method should not be used and will be removed in a future version.
-
-
-
Method Detail
-
forName
public static <T> java.lang.Class<T> forName(java.lang.String className) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
forName
public static <T> java.lang.Class<T> forName(java.lang.String className, ResourceManager rm) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
forName
public static <T> java.lang.Class<T> forName(java.lang.String className, ResourceManager rm, boolean resolve) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
forName
public static <T> java.lang.Class<T> forName(java.lang.String className, java.util.Map<java.lang.String,java.lang.Object> additionalParams) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
get_cl
@Deprecated public static java.lang.ClassLoader get_cl(ResourceManager rm)
Deprecated.Method should not be used and will be removed in a future version.
-
get_parent_cl
@Deprecated public static java.lang.ClassLoader get_parent_cl()
Deprecated.Method should not be used and will be removed in a future version.
-
-