@Override
@Deprecated
public ObjectInputStream deserialize(String className, ObjectName loaderName, byte[] data) throws OperationsException, ReflectionException {
Throwable error = null;
MBeanServerPlugin delegate = rootMBeanServer;
final boolean readOnly = true;
try {
//Special authorization
authorizeClassloadingOperation(delegate, loaderName, DESERIALIZE);
return delegate.deserialize(className, loaderName, data);
} catch (Exception e) {
error = e;
if (e instanceof OperationsException) throw (OperationsException)e;
if (e instanceof ReflectionException) throw (ReflectionException)e;
throw makeRuntimeException(e);
} finally {
if (shouldAuditLog(delegate, readOnly)) {
new MBeanServerAuditLogRecordFormatter(this, error, readOnly).deserialize(className, loaderName, data);
}
}
}
PluggableMBeanServerImpl.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:wildfly-core
作者:
评论列表
文章目录