javax.ejb
Interface EJBContext

All Known Subinterfaces:
EntityContext, MessageDrivenContext, SessionContext

public interface EJBContext

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Method Summary
 Identity getCallerIdentity()
          Deprecated.  
 Principal getCallerPrincipal()
           
 EJBHome getEJBHome()
           
 EJBLocalHome getEJBLocalHome()
           
 Properties getEnvironment()
          Deprecated.  
 boolean getRollbackOnly()
           
 TimerService getTimerService()
           
 UserTransaction getUserTransaction()
           
 boolean isCallerInRole(Identity role)
          Deprecated.  
 boolean isCallerInRole(String roleName)
           
 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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.