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

org.infinispan.commons.marshall.exts.NoStateExternalizer Maven / Gradle / Ivy

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

import java.io.IOException;
import java.io.ObjectOutput;

import org.infinispan.commons.marshall.AbstractExternalizer;

/**
 * An externalizer that writes no state. It simply marshalls class information.
 *
 * @author Galder Zamarreño
 * @since 5.0
 */
public abstract class NoStateExternalizer extends AbstractExternalizer {

   @Override
   public void writeObject(ObjectOutput output, T object) throws IOException {
      // The instance has no state, so no-op.
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy