Package com.tangosol.io.pof.annotation
Annotation Type Portable
-
@Target(TYPE) @Retention(RUNTIME) @Deprecated public @interface Portable
Deprecated.Since Coherence 14.1.2. UsePortableType
annotation instead.Portable marks a class as being eligible for use by aPofAnnotationSerializer
. This annotation is only permitted at the class level and is a marker annotation with no members. The following class illustrates how to usePortable
andPortableProperty
annotations.@Portable public class Person { @PortableProperty(0) public String getFirstName() { return m_firstName; } private String m_firstName; @PortableProperty(1) private String m_lastName; @PortableProperty(2) private int m_age; }
- Since:
- 3.7.1
- Author:
- hr
- See Also:
PortableProperty