javax.ejb
Interface EJBContext

All Known Subinterfaces:
EntityContext, MessageDrivenContext, SessionContext

public interface EJBContext

Version:
$Rev: 881904 $ $Date: 2009-11-18 14:58:29 -0500 (Wed, 18 Nov 2009) $

Method Summary
 Identity getCallerIdentity()
          Deprecated.  
 Principal getCallerPrincipal()
           
 Map<String,Object> getContextData()
           
 EJBHome getEJBHome()
           
 EJBLocalHome getEJBLocalHome()
           
 Properties getEnvironment()
          Deprecated.  
 boolean getRollbackOnly()
           
 TimerService getTimerService()
           
 UserTransaction getUserTransaction()
           
 boolean isCallerInRole(Identity role)
          Deprecated.  
 boolean isCallerInRole(String roleName)
           
 Object lookup(String name)
           
 void setRollbackOnly()
           
 

Method Detail

getEJBHome

EJBHome getEJBHome()

getEJBLocalHome

EJBLocalHome getEJBLocalHome()

getEnvironment

Properties getEnvironment()
Deprecated. 


getCallerIdentity

Identity getCallerIdentity()
Deprecated. 


getCallerPrincipal

Principal getCallerPrincipal()

isCallerInRole

boolean isCallerInRole(Identity role)
Deprecated. 


isCallerInRole

boolean isCallerInRole(String roleName)

getUserTransaction

UserTransaction getUserTransaction()
                                   throws IllegalStateException
Throws:
IllegalStateException

setRollbackOnly

void setRollbackOnly()
                     throws IllegalStateException
Throws:
IllegalStateException

getRollbackOnly

boolean getRollbackOnly()
                        throws IllegalStateException
Throws:
IllegalStateException

getTimerService

TimerService getTimerService()
                             throws IllegalStateException
Throws:
IllegalStateException

lookup

Object lookup(String name)

getContextData

Map<String,Object> getContextData()


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.