org.apache.openejb.core.cmp.jpa
Class JpaCmpEngine
java.lang.Object
org.apache.openejb.core.cmp.jpa.JpaCmpEngine
- All Implemented Interfaces:
- CmpEngine
public class JpaCmpEngine
- extends Object
- implements CmpEngine
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMP_PERSISTENCE_CONTEXT_REF_NAME
public static final String CMP_PERSISTENCE_CONTEXT_REF_NAME
- See Also:
- Constant Field Values
entityManagerListener
protected Object entityManagerListener
- Listener added to entity managers.
JpaCmpEngine
public JpaCmpEngine(CmpCallback cmpCallback)
deploy
public void deploy(BeanContext beanContext)
throws OpenEJBException
- Specified by:
deploy in interface CmpEngine
- Throws:
OpenEJBException
undeploy
public void undeploy(BeanContext beanContext)
throws OpenEJBException
- Specified by:
undeploy in interface CmpEngine
- Throws:
OpenEJBException
createBean
public Object createBean(javax.ejb.EntityBean bean,
ThreadContext callContext)
throws javax.ejb.CreateException
- Specified by:
createBean in interface CmpEngine
- Throws:
javax.ejb.CreateException
loadBean
public Object loadBean(ThreadContext callContext,
Object primaryKey)
- Specified by:
loadBean in interface CmpEngine
storeBeanIfNoTx
public void storeBeanIfNoTx(ThreadContext callContext,
Object bean)
- Specified by:
storeBeanIfNoTx in interface CmpEngine
removeBean
public void removeBean(ThreadContext callContext)
- Specified by:
removeBean in interface CmpEngine
queryBeans
public List<Object> queryBeans(ThreadContext callContext,
Method queryMethod,
Object[] args)
throws javax.ejb.FinderException
- Specified by:
queryBeans in interface CmpEngine
- Throws:
javax.ejb.FinderException
queryBeans
public List<Object> queryBeans(BeanContext beanContext,
String signature,
Object[] args)
throws javax.ejb.FinderException
- Specified by:
queryBeans in interface CmpEngine
- Throws:
javax.ejb.FinderException
executeUpdateQuery
public int executeUpdateQuery(BeanContext beanContext,
String signature,
Object[] args)
throws javax.ejb.FinderException
- Specified by:
executeUpdateQuery in interface CmpEngine
- Throws:
javax.ejb.FinderException
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.