Class EJBContextImpl

    • Method Detail

      • getCallerIdentity

        public Identity getCallerIdentity()
      • 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
      • getEnvironment

        public Properties getEnvironment()
      • getTarget

        public Object getTarget()
      • getUserTransaction

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

        public boolean isCallerInRole​(Identity role)
      • isCallerInRole

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