Package one.microstream.reflect
Class ClassLoaderProvider.Default
java.lang.Object
one.microstream.reflect.ClassLoaderProvider.Default
- All Implemented Interfaces:
ClassLoaderProvider
- Enclosing interface:
- ClassLoaderProvider
public static final class ClassLoaderProvider.Default extends Object implements ClassLoaderProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.reflect.ClassLoaderProvider
ClassLoaderProvider.Default, ClassLoaderProvider.System
-
Method Summary
Modifier and Type Method Description ClassLoader
provideClassLoader(String typeName)
Provides theClassLoader
instance to be used withXReflect.resolveType(String, ClassLoader)
to resolve the passed typeName.
The typeName should usually not be required to determine the returnedClassLoader
.
-
Method Details
-
provideClassLoader
Description copied from interface:ClassLoaderProvider
Provides theClassLoader
instance to be used withXReflect.resolveType(String, ClassLoader)
to resolve the passed typeName.
The typeName should usually not be required to determine the returnedClassLoader
. It is just an optionally available information in case the responsibleClassLoader
has to be determined based on the specific type (e.g. the package path or a sub path of it).- Specified by:
provideClassLoader
in interfaceClassLoaderProvider
- Parameters:
typeName
- the full qualified name of the type to be resolved.- Returns:
- the
ClassLoader
instance to be used to resolve the passed type name.
-