public class EntityContextImpl extends EJBContextImpl implements javax.ejb.EntityContext
Constructor and Description |
---|
EntityContextImpl(EntityBeanComponentInstance componentInstance) |
Modifier and Type | Method and Description |
---|---|
EntityBeanComponent |
getComponent() |
protected EntityBeanComponentInstance |
getComponentInstance() |
javax.ejb.EJBLocalObject |
getEJBLocalObject() |
javax.ejb.EJBObject |
getEJBObject() |
javax.ejb.EntityBean |
getInstance() |
Object |
getPrimaryKey() |
UserTransaction |
getUserTransaction() |
boolean |
isRemoved() |
getCallerIdentity, getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTarget, getTimerService, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
public EntityContextImpl(EntityBeanComponentInstance componentInstance)
public EntityBeanComponent getComponent()
getComponent
in class EJBContextImpl
public UserTransaction getUserTransaction() throws IllegalStateException
getUserTransaction
in interface javax.ejb.EJBContext
getUserTransaction
in class EJBContextImpl
IllegalStateException
public javax.ejb.EJBLocalObject getEJBLocalObject() throws IllegalStateException
getEJBLocalObject
in interface javax.ejb.EntityContext
IllegalStateException
public javax.ejb.EJBObject getEJBObject() throws IllegalStateException
getEJBObject
in interface javax.ejb.EntityContext
IllegalStateException
public Object getPrimaryKey() throws IllegalStateException
getPrimaryKey
in interface javax.ejb.EntityContext
IllegalStateException
public javax.ejb.EntityBean getInstance()
public boolean isRemoved()
protected EntityBeanComponentInstance getComponentInstance()
Copyright © 2013 JBoss by Red Hat. All rights reserved.