org.apache.camel.component.jpa
Interface DeleteHandler<T>


public interface DeleteHandler<T>

A strategy for deleting entity beans which have been processed; either by a real delete or by an update of some application specific properties so that the entity bean will not be found in future polling queries.

Version:

Method Summary
 void deleteObject(EntityManager entityManager, Object entityBean)
          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.
 

Method Detail

deleteObject

void deleteObject(EntityManager entityManager,
                  Object entityBean)
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.

Parameters:
entityManager -
entityBean - the entity bean that has been processed and should be deleted


Apache CAMEL