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

Method Summary
 EJBContainer createEJBContainer(java.util.Map<?,?> properties)
          Called by the embeddable container bootstrap process to find a suitable embeddable container implementation.
 

Method Detail

createEJBContainer

EJBContainer createEJBContainer(java.util.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 : If a provider does not qualify as the provider for the embeddable application, it must return null.

Returns:
EJBContainer instance or null
Throws:
EJBException


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41