@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Documented
public @interface SerializeWith
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.Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends Externalizer<?>> |
value
Specify the externalizer class to be used by the annotated class.
|
public abstract java.lang.Class<? extends Externalizer<?>> value