Class AbstractEJBMetaData<T extends jakarta.ejb.EJBObject,​H extends jakarta.ejb.EJBHome>

    • Method Detail

      • getEJBHome

        public H getEJBHome()
        Get the Enterprise Beans home interface.
        Specified by:
        getEJBHome in interface jakarta.ejb.EJBMetaData
        Returns:
        the Enterprise Beans home interface
      • getRemoteInterfaceClass

        public Class<T> getRemoteInterfaceClass()
        Get the remote interface class.
        Specified by:
        getRemoteInterfaceClass in interface jakarta.ejb.EJBMetaData
        Returns:
        the remote interface class
      • getHomeInterfaceClass

        public Class<H> getHomeInterfaceClass()
        Get the home interface class.
        Specified by:
        getHomeInterfaceClass in interface jakarta.ejb.EJBMetaData
        Returns:
        the home interface
      • getPrimaryKeyClass

        public Class<?> getPrimaryKeyClass()
        Get the primary key class.
        Specified by:
        getPrimaryKeyClass in interface jakarta.ejb.EJBMetaData
        Returns:
        the primary key class
      • isSession

        public boolean isSession()
        Determine whether this Enterprise Bean metadata refers to a session Enterprise Bean.
        Specified by:
        isSession in interface jakarta.ejb.EJBMetaData
        Returns:
        true if the Enterprise Beans is a session Enterprise Bean, false otherwise
      • isStatelessSession

        public boolean isStatelessSession()
        Determine whether this Enterprise Bean metadata refers to a stateless session Enterprise Bean.
        Specified by:
        isStatelessSession in interface jakarta.ejb.EJBMetaData
        Returns:
        true if the Enterprise Beans is a stateless session Enterprise Bean, false otherwise
      • getHomeLocator

        public EJBHomeLocator<H> getHomeLocator()
        Get the home locator for this metadata instance.
        Returns:
        the home locator for this metadata instance (not null)