public interface Listener
Modifier and Type | Field and Description |
---|---|
static int |
POST_LOAD |
static int |
POST_PERSIST |
static int |
POST_REMOVE |
static int |
POST_UPDATE |
static int |
PRE_PERSIST |
static int |
PRE_REMOVE |
static int |
PRE_UPDATE |
Modifier and Type | Method and Description |
---|---|
void |
__caucho_callback(int callbackIndex,
java.lang.Object entity)
Generic callback.
|
void |
__caucho_postLoad(java.lang.Object entity)
Called after an entity has been loaded into
the current persistence context.
|
void |
__caucho_postPersist(java.lang.Object entity)
Called after the entity has been made persistent.
|
void |
__caucho_postRemove(java.lang.Object entity)
Called after the entity has been made removed.
|
void |
__caucho_postUpdate(java.lang.Object entity)
Called after database update operations.
|
void |
__caucho_prePersist(java.lang.Object entity)
Called before EntityManager.persist().
|
void |
__caucho_preRemove(java.lang.Object entity)
Called before EntityManager.remove().
|
void |
__caucho_preUpdate(java.lang.Object entity)
Called before database update operations.
|
static final int PRE_PERSIST
static final int POST_PERSIST
static final int PRE_REMOVE
static final int POST_REMOVE
static final int PRE_UPDATE
static final int POST_UPDATE
static final int POST_LOAD
void __caucho_prePersist(java.lang.Object entity)
void __caucho_postPersist(java.lang.Object entity)
void __caucho_preRemove(java.lang.Object entity)
void __caucho_postRemove(java.lang.Object entity)
void __caucho_preUpdate(java.lang.Object entity)
void __caucho_postUpdate(java.lang.Object entity)
void __caucho_postLoad(java.lang.Object entity)
void __caucho_callback(int callbackIndex, java.lang.Object entity)