javax.ejb
Interface EJBContext

All Known Subinterfaces:
SessionContext
All Known Implementing Classes:
EasyBeansEJBContext, EasyBeansMessageDrivenContext, EasyBeansSessionContext

public interface EJBContext

Author:
Florent Benoit
See Also:
EJB 3.0 specification

Method Summary
 java.security.Identity getCallerIdentity()
          Deprecated. 
 java.security.Principal getCallerPrincipal()
           
 javax.ejb.EJBHome getEJBHome()
           
 javax.ejb.EJBLocalHome getEJBLocalHome()
           
 java.util.Properties getEnvironment()
          Deprecated. 
 boolean getRollbackOnly()
           
 javax.ejb.TimerService getTimerService()
           
 javax.transaction.UserTransaction getUserTransaction()
           
 boolean isCallerInRole(java.security.Identity role)
          Deprecated. 
 boolean isCallerInRole(java.lang.String roleName)
           
 java.lang.Object lookup(java.lang.String name)
           
 void setRollbackOnly()
           
 

Method Detail

getEJBHome

javax.ejb.EJBHome getEJBHome()
                             throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getEJBLocalHome

javax.ejb.EJBLocalHome getEJBLocalHome()
                                       throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getEnvironment

@Deprecated
java.util.Properties getEnvironment()
Deprecated. 


getCallerIdentity

@Deprecated
java.security.Identity getCallerIdentity()
Deprecated. 


getCallerPrincipal

java.security.Principal getCallerPrincipal()

isCallerInRole

@Deprecated
boolean isCallerInRole(java.security.Identity role)
Deprecated. 


isCallerInRole

boolean isCallerInRole(java.lang.String roleName)

getUserTransaction

javax.transaction.UserTransaction getUserTransaction()
                                                     throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

setRollbackOnly

void setRollbackOnly()
                     throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getRollbackOnly

boolean getRollbackOnly()
                        throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getTimerService

javax.ejb.TimerService getTimerService()
                                       throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

lookup

java.lang.Object lookup(java.lang.String name)