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
 java.security.Identity getCallerIdentity()
          Deprecated.  
 java.security.Principal getCallerPrincipal()
           
 java.util.Map<java.lang.String,java.lang.Object> getContextData()
           
 EJBHome getEJBHome()
           
 EJBLocalHome getEJBLocalHome()
           
 java.util.Properties getEnvironment()
          Deprecated.  
 boolean getRollbackOnly()
           
 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

EJBHome getEJBHome()

getEJBLocalHome

EJBLocalHome getEJBLocalHome()

getEnvironment

java.util.Properties getEnvironment()
Deprecated. 


getCallerIdentity

java.security.Identity getCallerIdentity()
Deprecated. 


getCallerPrincipal

java.security.Principal getCallerPrincipal()

isCallerInRole

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

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

lookup

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

getContextData

java.util.Map<java.lang.String,java.lang.Object> getContextData()


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