SerializationContextInitializer
and utilise ProtoStream annotations on Java objects instead, or
specify a custom Marshaller
implementation via the SerializationConfiguration.@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited @Documented @Deprecated 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 |
---|---|
Class<? extends Externalizer<?>> |
value
Deprecated.
Specify the externalizer class to be used by the annotated class.
|
public abstract Class<? extends Externalizer<?>> value
Copyright © 2021 JBoss by Red Hat. All rights reserved.