public final class ClassLocator extends Object
UserCodeDeploymentClassLoader when a class
is not found on a local classpath.
The current implementation can consult a cache and when the class is not found then it consults
remote members.| Constructor and Description |
|---|
ClassLocator(ConcurrentMap<String,ClassSource> classSourceMap,
ClassLoader parent,
Filter<String> classNameFilter,
Filter<Member> memberFilter,
UserCodeDeploymentConfig.ClassCacheMode classCacheMode,
NodeEngine nodeEngine) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
findLoadedClass(String name) |
Class<?> |
handleClassNotFoundException(String name) |
static void |
onFinishDeserialization() |
static void |
onStartDeserialization() |
public ClassLocator(ConcurrentMap<String,ClassSource> classSourceMap, ClassLoader parent, Filter<String> classNameFilter, Filter<Member> memberFilter, UserCodeDeploymentConfig.ClassCacheMode classCacheMode, NodeEngine nodeEngine)
public static void onStartDeserialization()
public static void onFinishDeserialization()
public Class<?> handleClassNotFoundException(String name) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.