All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.dataconversion.JavaSerializationEncoder Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.commons.dataconversion;

import org.infinispan.commons.marshall.JavaSerializationMarshaller;

/**
 * Encoder based on the default java serialization.
 *
 * @since 9.1
 */
public class JavaSerializationEncoder extends MarshallerEncoder {

   public static final JavaSerializationEncoder INSTANCE = new JavaSerializationEncoder();

   private JavaSerializationEncoder() {
      super(new JavaSerializationMarshaller());
   }

   @Override
   public short id() {
      return EncoderIds.JAVA_SERIALIZATION;
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy