HHH-6696: additional javadoc explanation

This commit is contained in:
Adam Warski 2011-10-01 10:40:11 +02:00
parent 550865e3d3
commit 9039e4d29e
1 changed files with 4 additions and 0 deletions

View File

@ -40,5 +40,9 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface RevisionEntity {
/**
* @return The optional listener that will be used to fill in the custom revision entity.
* May also be specified using the {@code org.hibernate.envers.revision_listener} configuration property.
*/
Class<? extends RevisionListener> value() default RevisionListener.class;
}