POF Serialization of Enums in Java

(Doc ID 831952.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Coherence - Version 3.3.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

Concerning how to deal with Java Enums instead of exposing string methods and using  Enum.name().  Is there a good way to make an Enum into a POF user type object or some other way of POF-ing Enums?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms