|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public interface PortableProperty
A PortableProperty marks a member variable or method accessor as a POF serialized attribute. Whilst the value()
and codec()
can be explicitly specified they can be determined by classes that use this annotation. Hence these attributes serve as hints to the underlying parser.
Method Summary | |
---|---|
java.lang.Class |
codec() A codec to use to short-circuit determining the type via either method return type or field type. |
int |
value() The index of this property |
Methods inherited from interface java.lang.annotation.Annotation |
---|
annotationType, equals, hashCode, toString |
Method Detail |
---|
int value()
PofWriter
java.lang.Class codec()
This could be used to determine concrete implementations of interfaces, i.e. when the method return is a Map this type definition could instruct the code to utilize a LinkedHashMap
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |