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 of
ClassResolver
that calls
Thread.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
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClassLoader
Returns the class loader to use for the current operation.Methods inherited from class mondrian.util.ClassResolver.AbstractClassResolver
forName, getClassLoaderNotNull, getResources, instantiateSafe
-
Constructor Details
-
ThreadContextClassResolver
public ThreadContextClassResolver()
-
-
Method Details
-
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
-