public interface DeleteHandler<T>
Modifier and Type | Method and Description |
---|---|
void |
deleteObject(javax.persistence.EntityManager entityManager,
Object entityBean,
org.apache.camel.Exchange exchange)
Deletes the entity bean after it has been processed either by actually
deleting the object or updating it in a way so that future queries do not return this object again.
|
void deleteObject(javax.persistence.EntityManager entityManager, Object entityBean, org.apache.camel.Exchange exchange)
entityManager
- the entity managerentityBean
- the entity bean that has been processed and should be deletedexchange
- the exchange that could be used to update the entityBeanApache Camel