public class ParentFirstLookupStrategy extends Object implements LookupStrategy
LookupStrategy
that given a classloader, will search on the classloader's parent
first, before searching on the provided one.Modifier and Type | Field and Description |
---|---|
static LookupStrategy |
PARENT_FIRST
Provides access to the strategy
|
Modifier and Type | Method and Description |
---|---|
List<ClassLoader> |
getClassLoaders(ClassLoader classLoader)
Determines which class loaders must be used to search a class
|
public static final LookupStrategy PARENT_FIRST
public List<ClassLoader> getClassLoaders(ClassLoader classLoader)
LookupStrategy
getClassLoaders
in interface LookupStrategy
classLoader
- class loader form which the class is being looked up. Non nullCopyright © 2018. All rights reserved.