Package org.glassfish.ejb.embedded
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Shutdown an embeddable EJBContainer instance.Context
getContext()
Retrieve a naming context for looking up references to session beans executing in the embeddable container.
-
-
-
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 classjakarta.ejb.embeddable.EJBContainer
- Returns:
- naming context
-
close
public void close()
Shutdown an embeddable EJBContainer instance.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classjakarta.ejb.embeddable.EJBContainer
-
-