org.jboss.picketlink.idm.internal.jpa
Interface JPACallback


public interface JPACallback

Callback class to execute some specific operation using the provided EntityManager instance.

Author:
Pedro Silva

Method Summary
 Object execute(javax.persistence.EntityManager entityManager)
           Executes some operation using the provided EntityManager.
 

Method Detail

execute

Object execute(javax.persistence.EntityManager entityManager)

Executes some operation using the provided EntityManager. Basic exception handling and logging are already provided by the JPATemplate.

Parameters:
entityManager -
Returns:


Copyright © 2012. All Rights Reserved.