Code example for EmptyInterceptor

0
 * called last, if they make any changes other interceptors would never know about them. 
 * </pre> 
 *  
 * @since 1.10 
 */ 
public abstract class ImmutableEntityInterceptor extends EmptyInterceptor {
	 
	private static final Log log = LogFactory.getLog(ImmutableEntityInterceptor.class);
	 
	/** 
	 * Returns the class handled by the interceptor 
	 */ 
	protected abstract Class<?> getSupportedType();
	 
	/** 
	 * Subclasses can override this to return fields that are allowed to be edited, returning null 
	 * or an empty array implies the entity is immutable 
	 *  
	 * @return an array of properties 
	 */ 
Connect your IDE to all the code out there  Get Codota for Java