public class StaticFieldDelegate
extends java.beans.PersistenceDelegate
The constructor to this class simply takes the Class object which owns the static field. When it is asked to serialize an object, it searches the class for a public static final field whose value is the object in question, then records a reference to that field.
Constructor and Description |
---|
StaticFieldDelegate(java.lang.Class cls)
Create a StaticFieldDelegate.
|
Written by Peter Eastman.