javax.ejb
Interface EntityContext

All Superinterfaces:
EJBContext

public interface EntityContext
extends EJBContext

The main ejb context.


Method Summary
 EJBLocalObject getEJBLocalObject()
           
 EJBObject getEJBObject()
           
 java.lang.Object getPrimaryKey()
           
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Method Detail

getEJBLocalObject

EJBLocalObject getEJBLocalObject()
                                 throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getEJBObject

EJBObject getEJBObject()
                       throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getPrimaryKey

java.lang.Object getPrimaryKey()
                               throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException