javax.ejb.spi
Interface EJBContainerProvider
public interface EJBContainerProvider
The EJBContainerProvider SPI is used by the embeddable container bootstrap class to initialize a suitable embeddable container.
- Since:
- EJB 3.1 version.
- Author:
- Florent Benoit
- See Also:
- EJB 3.1 specification
|
Method Summary |
EJBContainer |
createEJBContainer(Map<?,?> properties)
Called by the embeddable container bootstrap process to find a suitable embeddable container implementation. |
createEJBContainer
EJBContainer 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
javax.ejb.embeddable.initial property was included in the Map passed to createEJBContainer and the value of the property is
the provider's implementation class. No javax.ejb.embeddable.initial property was specified. If a provider does not qualify
as the provider for the embeddable application, it must return null.
- Returns:
- EJBContainer instance or null
- Throws:
EJBException - if container is not created.
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.