public class DefaultSerializeClassChecker extends Object implements AllowClassNotifyListener
DEFAULT_STATUS| 构造器和说明 |
|---|
DefaultSerializeClassChecker(FrameworkModel frameworkModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultSerializeClassChecker |
getInstance() |
Class<?> |
loadClass(ClassLoader classLoader,
String className)
Try load class
|
void |
notifyCheckSerializable(boolean checkSerializable) |
void |
notifyCheckStatus(SerializeCheckStatus status) |
void |
notifyPrefix(Set<String> allowedList,
Set<String> disAllowedList) |
public DefaultSerializeClassChecker(FrameworkModel frameworkModel)
public void notifyPrefix(Set<String> allowedList, Set<String> disAllowedList)
notifyPrefix 在接口中 AllowClassNotifyListenerpublic void notifyCheckStatus(SerializeCheckStatus status)
notifyCheckStatus 在接口中 AllowClassNotifyListenerpublic void notifyCheckSerializable(boolean checkSerializable)
public Class<?> loadClass(ClassLoader classLoader, String className) throws ClassNotFoundException
className - class nameIllegalArgumentException - if class is blockedClassNotFoundExceptionpublic static DefaultSerializeClassChecker getInstance()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.