javax.ejb
Interface EJBContext

All Known Subinterfaces:
EntityContext, MessageDrivenContext, SessionContext

public interface EJBContext

Version:
$Rev: 46019 $ $Date: 2004-09-14 11:56:06 +0200 (Tue, 14 Sep 2004) $

Method Summary
 java.security.Identity getCallerIdentity()
          Deprecated.  
 java.security.Principal getCallerPrincipal()
           
 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)
           
 void setRollbackOnly()
           
 

Method Detail

getEJBHome

public EJBHome getEJBHome()

getEJBLocalHome

public EJBLocalHome getEJBLocalHome()

getEnvironment

public java.util.Properties getEnvironment()
Deprecated.  


getCallerIdentity

public java.security.Identity getCallerIdentity()
Deprecated.  


getCallerPrincipal

public java.security.Principal getCallerPrincipal()

isCallerInRole

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


isCallerInRole

public boolean isCallerInRole(java.lang.String roleName)

getUserTransaction

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

setRollbackOnly

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

getRollbackOnly

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

getTimerService

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


Copyright © {inceptionYear}-2007 null. All Rights Reserved.