Annotation Interface SerializeFunctionWith


@Retention(RUNTIME) @Target(TYPE) @Inherited @Documented public @interface SerializeFunctionWith
Indicate that this function should be serialized with an instance of the given Externalizer class. Any externalizer type referred by this annotation must be either Serializable or Externalizable because the marshalling infrastructure will ship an instance of the externalizer to any node that's no aware of this externalizer, hence allowing for dynamic externalizer discovery.
Since:
8.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Externalizer<?>>
    Specify the externalizer class to be used by the annotated class.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specify the value matching capabilities of this function.
  • Element Details

    • value

      Class<? extends Externalizer<?>> value
      Specify the externalizer class to be used by the annotated class.
      Returns:
      the externalizer type
    • valueMatcher

      ValueMatcherMode valueMatcher
      Specify the value matching capabilities of this function.
      Returns:
      a value matcher mode
      Default:
      MATCH_ALWAYS