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.
|
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 upCopyright © 2012 JBoss by Red Hat. All Rights Reserved.