public interface EJBContainerProviderThe EJBContainerProvider SPI is used by the embeddable container bootstrap class to initialize a suitable embeddable container.
- EJB 3.1
EJBContainer createEJBContainer(Map<?,?> properties) throws EJBExceptionCalled by the embeddable container bootstrap process to find a suitable embeddable container implementation. An embeddable container provider may deem itself as appropriate for the embeddable application if any of the following are true :
jakarta.ejb.embeddable.providerproperty was included in the Map passed to
createEJBContainerand the value of the property is the provider's implementation class.
jakarta.ejb.embeddable.providerproperty was specified.
properties- Spec-defined and/or vendor-specific properties, that were passed to
- EJBContainer instance or null
EJBException- if the container could not be successfully initialized.