|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.marshalling.reflect.SerializableClassRegistry
public final class SerializableClassRegistry

A registry for reflection information usable by serialization implementations. Objects returned from this registry can be used to invoke private methods without security checks, so it is important to be careful not to "leak" instances out of secured implementations.
| Method Summary | |
|---|---|
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)
Release all reflection information belonging to the given class loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 up
public void release(ClassLoader classLoader)
classLoader - the class loader to release
|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||