Package mondrian.util
Class ClassResolver.ThreadContextClassResolver
- java.lang.Object
-
- mondrian.util.ClassResolver.AbstractClassResolver
-
- mondrian.util.ClassResolver.ThreadContextClassResolver
-
- All Implemented Interfaces:
ClassResolver
- Enclosing interface:
- ClassResolver
public static class ClassResolver.ThreadContextClassResolver extends ClassResolver.AbstractClassResolver
Implementation ofClassResolver
that callsThread.getContextClassLoader()
on the current thread.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.util.ClassResolver
ClassResolver.AbstractClassResolver, ClassResolver.ThreadContextClassResolver
-
-
Field Summary
-
Fields inherited from interface mondrian.util.ClassResolver
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description ThreadContextClassResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassLoader
getClassLoader()
Returns the class loader to use for the current operation.-
Methods inherited from class mondrian.util.ClassResolver.AbstractClassResolver
forName, getClassLoaderNotNull, getResources, instantiateSafe
-
-
-
-
Method Detail
-
getClassLoader
protected ClassLoader getClassLoader()
Description copied from class:ClassResolver.AbstractClassResolver
Returns the class loader to use for the current operation. May be null.- Specified by:
getClassLoader
in classClassResolver.AbstractClassResolver
-
-