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

org.infinispan.commons.marshall.AbstractExternalizer Maven / Gradle / Ivy

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

/**
 * Base class for {@link AdvancedExternalizer} implementations that offers default
 * implementations for some of its methods. In particular, this base class
 * offers a default implementation for {@link org.infinispan.commons.marshall.AdvancedExternalizer#getId()}
 * that returns null which is particularly useful for advanced externalizers
 * whose id will be provided by XML or programmatic configuration rather than
 * the externalizer implementation itself.
 *
 * @author Galder Zamarreño
 * @since 5.0
 */
public abstract class AbstractExternalizer implements AdvancedExternalizer {

   @Override
   public Integer getId() {
      return null;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy