public interface RevisionListener
RevisionEntity
annotation.Modifier and Type | Method and Description |
---|---|
void |
newRevision(Object revisionEntity)
Called when a new revision is created.
|
void newRevision(Object revisionEntity)
revisionEntity
- An instance of the entity annotated with RevisionEntity
, which will be persisted
after this method returns. All properties on this entity that are to be persisted should be set by this method.Copyright © 2017 JBoss by Red Hat. All rights reserved.