Class EJBContainerImpl

java.lang.Object
jakarta.ejb.embeddable.EJBContainer
org.glassfish.ejb.embedded.EJBContainerImpl
All Implemented Interfaces:
AutoCloseable

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

    Fields inherited from class jakarta.ejb.embeddable.EJBContainer

    APP_NAME, MODULES, PROVIDER
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Shutdown an embeddable EJBContainer instance.
    Retrieve a naming context for looking up references to session beans executing in the embeddable container.

    Methods inherited from class jakarta.ejb.embeddable.EJBContainer

    createEJBContainer, createEJBContainer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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