Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.marshall;

Base class for AdvancedExternalizer implementations that offers default implementations for some of its methods. In particular, this base class offers a default implementation for 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.

Galder ZamarreƱo
public abstract class AbstractExternalizer<T> implements AdvancedExternalizer<T> {
   public Integer getId() {
      return null;
New to GrepCode? Check out our FAQ X