Class EJBContainerImpl

  • All Implemented Interfaces:
    AutoCloseable

    public class EJBContainerImpl
    extends jakarta.ejb.embeddable.EJBContainer
    GlassFish implementation of the EJBContainer.
    Author:
    Marina Vatkina
    • Method Detail

      • getContext

        public Context getContext()
        Retrieve a naming context for looking up references to session beans executing in the embeddable container.
        Specified by:
        getContext in class jakarta.ejb.embeddable.EJBContainer
        Returns:
        naming context
      • close

        public void close()
        Shutdown an embeddable EJBContainer instance.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in class jakarta.ejb.embeddable.EJBContainer