public abstract class TestTxInterceptor extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected TestEmfControl |
testEmfControl |
| Constructor and Description |
|---|
TestTxInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
doTran(javax.interceptor.InvocationContext context) |
protected javax.persistence.EntityManager |
getEm() |
protected void |
setEm(javax.persistence.EntityManager em) |
protected javax.persistence.EntityManager |
storeNewEm() |
protected boolean |
willRollbackOn(Exception ex,
Class<?>[] rollbackOn,
Class<?>[] dontRollbackOn) |
@Inject protected TestEmfControl testEmfControl
public Object doTran(javax.interceptor.InvocationContext context) throws Exception
Exceptionprotected javax.persistence.EntityManager getEm()
protected javax.persistence.EntityManager storeNewEm()
protected void setEm(javax.persistence.EntityManager em)
Copyright © 2021. All rights reserved.