org.apache.openejb.core.cmp.cmp2
Class Cmp2Util

java.lang.Object
  extended by org.apache.openejb.core.cmp.cmp2.Cmp2Util

public class Cmp2Util
extends Object


Constructor Summary
Cmp2Util()
           
 
Method Summary
static CoreDeploymentInfo getDeploymentInfo(Class type)
           
static
<Proxy extends javax.ejb.EJBLocalObject>
Proxy
getEjbProxy(CoreDeploymentInfo deploymentInfo, javax.ejb.EntityBean entity)
           
static
<Bean extends javax.ejb.EntityBean>
Bean
getEntityBean(javax.ejb.EJBLocalObject proxy)
           
static
<Bean extends javax.ejb.EntityBean>
Bean
getEntityBean(javax.ejb.EJBObject proxy)
           
static Object getPrimaryKey(CoreDeploymentInfo deploymentInfo, javax.ejb.EntityBean entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cmp2Util

public Cmp2Util()
Method Detail

getPrimaryKey

public static Object getPrimaryKey(CoreDeploymentInfo deploymentInfo,
                                   javax.ejb.EntityBean entity)

getEntityBean

public static <Bean extends javax.ejb.EntityBean> Bean getEntityBean(javax.ejb.EJBLocalObject proxy)

getEntityBean

public static <Bean extends javax.ejb.EntityBean> Bean getEntityBean(javax.ejb.EJBObject proxy)

getEjbProxy

public static <Proxy extends javax.ejb.EJBLocalObject> Proxy getEjbProxy(CoreDeploymentInfo deploymentInfo,
                                                                         javax.ejb.EntityBean entity)

getDeploymentInfo

public static CoreDeploymentInfo getDeploymentInfo(Class type)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.