public class Cmp2Util
extends java.lang.Object
Constructor and Description |
---|
Cmp2Util() |
Modifier and Type | Method and Description |
---|---|
static BeanContext |
getBeanContext(java.lang.Class type) |
static <Proxy extends EJBLocalObject> |
getEjbProxy(BeanContext beanContext,
EntityBean entity) |
static <Bean extends EntityBean> |
getEntityBean(EJBLocalObject proxy) |
static <Bean extends EntityBean> |
getEntityBean(EJBObject proxy) |
static java.lang.Object |
getPrimaryKey(BeanContext beanContext,
EntityBean entity) |
public static java.lang.Object getPrimaryKey(BeanContext beanContext, EntityBean entity)
public static <Bean extends EntityBean> Bean getEntityBean(EJBLocalObject proxy)
public static <Bean extends EntityBean> Bean getEntityBean(EJBObject proxy)
public static <Proxy extends EJBLocalObject> Proxy getEjbProxy(BeanContext beanContext, EntityBean entity)
public static BeanContext getBeanContext(java.lang.Class type)