Class EJBContextImpl

java.lang.Object
org.jboss.as.ejb3.context.EJBContextImpl
All Implemented Interfaces:
jakarta.ejb.EJBContext, Serializable
Direct Known Subclasses:
MessageDrivenContext, SessionContextImpl

public abstract class EJBContextImpl extends Object implements jakarta.ejb.EJBContext, Serializable
Author:
Carlo de Wolf
See Also:
  • Constructor Details

  • Method Details

    • getCallerPrincipal

      public Principal getCallerPrincipal()
      Specified by:
      getCallerPrincipal in interface jakarta.ejb.EJBContext
    • getContextData

      public Map<String,Object> getContextData()
      Specified by:
      getContextData in interface jakarta.ejb.EJBContext
    • getEJBHome

      public jakarta.ejb.EJBHome getEJBHome()
      Specified by:
      getEJBHome in interface jakarta.ejb.EJBContext
    • getEJBLocalHome

      public jakarta.ejb.EJBLocalHome getEJBLocalHome()
      Specified by:
      getEJBLocalHome in interface jakarta.ejb.EJBContext
    • getComponent

      public EJBComponent getComponent()
    • getRollbackOnly

      public boolean getRollbackOnly() throws IllegalStateException
      Specified by:
      getRollbackOnly in interface jakarta.ejb.EJBContext
      Throws:
      IllegalStateException
    • getTarget

      public Object getTarget()
    • getTimerService

      public jakarta.ejb.TimerService getTimerService() throws IllegalStateException
      Specified by:
      getTimerService in interface jakarta.ejb.EJBContext
      Throws:
      IllegalStateException
    • getUserTransaction

      public jakarta.transaction.UserTransaction getUserTransaction() throws IllegalStateException
      Specified by:
      getUserTransaction in interface jakarta.ejb.EJBContext
      Throws:
      IllegalStateException
    • isCallerInRole

      public boolean isCallerInRole(String roleName)
      Specified by:
      isCallerInRole in interface jakarta.ejb.EJBContext
    • lookup

      public Object lookup(String name) throws IllegalArgumentException
      Specified by:
      lookup in interface jakarta.ejb.EJBContext
      Throws:
      IllegalArgumentException
    • setRollbackOnly

      public void setRollbackOnly() throws IllegalStateException
      Specified by:
      setRollbackOnly in interface jakarta.ejb.EJBContext
      Throws:
      IllegalStateException