org.hibernate.envers.configuration.internal.MappingCollector Maven / Gradle / Ivy
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.envers.configuration.internal;
import org.dom4j.Document;
import org.dom4j.DocumentException;
/**
* Used in building the AuditConfiguration to allow callbacks for generated audit entities.
*
* The idea here is to allow a Envers to "callback" with any
*
* @author Steve Ebersole
*/
public interface MappingCollector {
void addDocument(Document document) throws DocumentException;
}