javax.ejb
Interface EJBContext

All Known Subinterfaces:
EntityContext, MessageDrivenContext, SessionContext

public interface EJBContext

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:59:39 $

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

public EJBHome getEJBHome()

getEJBLocalHome

public EJBLocalHome getEJBLocalHome()

getEnvironment

public Properties getEnvironment()
Deprecated.  


getCallerIdentity

public Identity getCallerIdentity()
Deprecated.  


getCallerPrincipal

public Principal getCallerPrincipal()

isCallerInRole

public boolean isCallerInRole(Identity role)
Deprecated.  


isCallerInRole

public boolean isCallerInRole(String roleName)

getUserTransaction

public UserTransaction getUserTransaction()
                                   throws IllegalStateException
Throws:
IllegalStateException

setRollbackOnly

public void setRollbackOnly()
                     throws IllegalStateException
Throws:
IllegalStateException

getRollbackOnly

public boolean getRollbackOnly()
                        throws IllegalStateException
Throws:
IllegalStateException

getTimerService

public TimerService getTimerService()
                             throws IllegalStateException
Throws:
IllegalStateException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.