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

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

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.dataconversion;

import org.infinispan.commons.marshall.Marshaller;

/**
 * Encoder that uses the GlobalMarshaller to encode/decode data.
 *
 * @since 9.2
 * @deprecated Since 11.0, will be removed with ISPN-9622
 */
@Deprecated(forRemoval=true, since = "11.0")
public class GlobalMarshallerEncoder extends MarshallerEncoder {

   public GlobalMarshallerEncoder(Marshaller globalMarshaller) {
      super(globalMarshaller);
   }

   @Override
   public MediaType getStorageFormat() {
      return MediaType.APPLICATION_INFINISPAN_MARSHALLED;
   }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy