Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.marshall
Annotation Type SerializeWith


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Documented
public @interface SerializeWith

Indicate that this class 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:
5.0
Author:
Galder ZamarreƱo

Required Element Summary
 Class<? extends Externalizer<?>> value
          Specify the externalizer class to be used by the annotated class.
 

Element Detail

value

public abstract Class<? extends Externalizer<?>> value
Specify the externalizer class to be used by the annotated class.

Returns:
the externalizer type

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.