org.ops4j.pax.service.jpa.util
Interface JPAUtil.TransactionWork<T>

Enclosing class:
JPAUtil

public static interface JPAUtil.TransactionWork<T>

An Interface to perform a transaction work.

Since:
0.1.0
Author:
Edward Yakop

Method Summary
 T run(javax.persistence.EntityManager aManager)
          Execute the a work.
 

Method Detail

run

T run(javax.persistence.EntityManager aManager)
Execute the a work.

Parameters:
aManager - The entity manager. This arguments must not be null.
Returns:
Return the work result.
Since:
0.1.0


Copyright © 2008. All Rights Reserved.