이 콘텐츠는 선택한 언어로 제공되지 않습니다.
6.3. Using the Externalizable API
6.3.1. The Externalizable API Usage 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
JBoss Data Grid uses JBoss Marshalling to serialize objects.
Serialized classes require a corresponding Externalizer interface implementation that is configured to:
- Transform an object class into a serialized class
- Read an object class from an output.
Use a separate class to implement the Externalizer interface. Externalizer implementations control how objects of a class are created when reading an object from a stream.
The
readObject()
implementations create object instances of the target class. This provides flexibility in the creation of instances and allows target classes to persist immutably.
Note
It is recommended that Externalizer implementations are stored within classes that they externalize as inner static public classes.