PersistEventpublic class PersistEvent extends AbstractEvent An event class for persist() |
Fields Summary |
---|
private Object | object | private String | entityName |
Constructors Summary |
---|
public PersistEvent(String entityName, Object original, EventSource source)
this(original, source);
this.entityName = entityName;
| public PersistEvent(Object object, EventSource source)
super(source);
if ( object == null ) {
throw new IllegalArgumentException(
"attempt to create create event with null entity"
);
}
this.object = object;
|
|