Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » cmp » jpa » [javadoc | source]
org.apache.openejb.core.cmp.jpa
public class: JpaCmpEngine [javadoc | source]
java.lang.Object
   org.apache.openejb.core.cmp.jpa.JpaCmpEngine

All Implemented Interfaces:
    CmpEngine

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
public static final  String CMP_PERSISTENCE_CONTEXT_REF_NAME     
protected  Object entityManagerListener    Listener added to entity managers. 
Constructor:
 public JpaCmpEngine(CmpCallback cmpCallback) 
Method from org.apache.openejb.core.cmp.jpa.JpaCmpEngine Summary:
createBean,   deploy,   executeUpdateQuery,   loadBean,   queryBeans,   queryBeans,   removeBean,   storeBeanIfNoTx,   undeploy
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.core.cmp.jpa.JpaCmpEngine Detail:
 public Object createBean(EntityBean bean,
    ThreadContext callContext) throws CreateException 
 public synchronized  void deploy(CoreDeploymentInfo deploymentInfo) throws OpenEJBException 
 public int executeUpdateQuery(CoreDeploymentInfo deploymentInfo,
    String signature,
    Object[] args) throws FinderException 
 public Object loadBean(ThreadContext callContext,
    Object primaryKey) 
 public List<Object> queryBeans(ThreadContext callContext,
    Method queryMethod,
    Object[] args) throws FinderException 
 public List<Object> queryBeans(CoreDeploymentInfo deploymentInfo,
    String signature,
    Object[] args) throws FinderException 
 public  void removeBean(ThreadContext callContext) 
 public  void storeBeanIfNoTx(ThreadContext callContext,
    Object bean) 
 public synchronized  void undeploy(CoreDeploymentInfo deploymentInfo) throws OpenEJBException