public interface ClassResolver
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassLoader(Class<?> contextClass,
ClassLoader envLoader)
Return a class loader that can be used to load classes and resources.
|
ClassLoader getClassLoader(Class<?> contextClass, ClassLoader envLoader)
MultiClassLoader
.contextClass
- the context class; may be null if no context classenvLoader
- the thread's context class loader when the
persistence environment (i.e. broker)
was obtained; may be null if operating outside
the context of persistence environmentCopyright © 2006–2022 Apache Software Foundation. All rights reserved.