EventListener
, PropertyChangeListener
public interface TransactionalPropertyChangeListener extends PropertyChangeListener
Modifier and Type | Method | Description |
---|---|---|
void |
beforePropertyChange(PropertyChangeEvent event) |
This method is invoked before the property is changed.
|
propertyChange
void beforePropertyChange(PropertyChangeEvent event) throws RollbackOperationException, RollbackBatchException
event
- the event
of property change.RollbackOperationException
- when the listener wants to rollback the change on the property interceptedRollbackBatchException
- when the listener wants to rollback the entire set of changes if executed in
the batch.Copyright © 2012–2020 Luigi R. Viggiano. All rights reserved.