public class DefaultClassLoadStrategy extends Object implements IClassLoadStrategy
IClassLoadStrategy
that should be
suitable for a variety of situations. See getClassLoader(java.lang.Class<?>)
for
details.Constructor and Description |
---|
DefaultClassLoadStrategy() |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassLoader(Class<?> callerClass)
Selects a classloader based on a given createSource context.
|
public ClassLoader getClassLoader(Class<?> callerClass)
IClassLoadStrategy
getClassLoader
in interface IClassLoadStrategy
ClassLoaderResolver.getClassLoader()