Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.marshall;
 
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 java.io.Serializable or java.io.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.

Author(s):
Galder ZamarreƱo
Since:
5.0
public @interface SerializeWith {

   
Specify the externalizer class to be used by the annotated class.

Returns:
the externalizer type
   Class<? extends Externalizer<?>> value();
New to GrepCode? Check out our FAQ X