Package jakarta.ejb.spi
Interface EJBContainerProvider
- 
 public interface EJBContainerProviderThe EJBContainerProvider SPI is used by the embeddable container bootstrap class to initialize a suitable embeddable container.- Since:
- EJB 3.1
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description EJBContainercreateEJBContainer(Map<?,?> properties)Called by the embeddable container bootstrap process to find a suitable embeddable container implementation.
 
- 
- 
- 
Method Detail- 
createEJBContainerEJBContainer createEJBContainer(Map<?,?> properties) throws EJBException Called 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 :- The jakarta.ejb.embeddable.providerproperty was included in the Map passed tocreateEJBContainerand the value of the property is the provider's implementation class.
- No jakarta.ejb.embeddable.providerproperty was specified.
 - Parameters:
- properties- Spec-defined and/or vendor-specific properties, that were passed to- jakarta.ejb.embeddable.EJBContainer#createEJBContainer(Map<?,?>)call
- Returns:
- EJBContainer instance or null
- Throws:
- EJBException- if the container could not be successfully initialized.
 
- The 
 
- 
 
-