public final class SerializableClassRegistry extends Object
Modifier and Type | Method and Description |
---|---|
static SerializableClassRegistry |
getInstance()
Get the serializable class registry instance, if allowed by the current security manager.
|
SerializableClass |
lookup(Class<?> subject)
Look up serialization information for a class.
|
void |
release(ClassLoader classLoader)
Deprecated.
No longer required.
|
public static SerializableClassRegistry getInstance() throws SecurityException
java.io.SerializablePermission
"allowSerializationReflection"
in order to invoke this method.SecurityException
- if the caller does not have sufficient privilegespublic SerializableClass lookup(Class<?> subject)
subject
- the class to look uppublic void release(ClassLoader classLoader)
classLoader
- the class loader to releaseCopyright © 2017 JBoss by Red Hat. All rights reserved.