public final class SerializableClassRegistry
extends java.lang.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(java.lang.Class<?> subject)
Look up serialization information for a class.
|
void |
release(java.lang.ClassLoader classLoader)
Release all reflection information belonging to the given class loader.
|
public static SerializableClassRegistry getInstance() throws java.lang.SecurityException
java.io.SerializablePermission
"allowSerializationReflection"
in order to invoke this method.java.lang.SecurityException
- if the caller does not have sufficient privilegespublic SerializableClass lookup(java.lang.Class<?> subject)
subject
- the class to look uppublic void release(java.lang.ClassLoader classLoader)
classLoader
- the class loader to releaseCopyright © 2011 JBoss, a division of Red Hat, Inc.