[cdi-dev] [JBoss JIRA] (CDI-26) Bootstrap API for CDI

John Ament (JIRA) issues at jboss.org
Wed Jan 21 07:37:50 EST 2015


    [ https://issues.jboss.org/browse/CDI-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034063#comment-13034063 ] 

John Ament commented on CDI-26:
-------------------------------

We're speaking through this again on the 2.0 EG.

The current proposal is to add a new interface (tentatively called {{CDIContainer}} ) which will handle the creation of the container.

The possible package is {{javax.enterprise.inject.spi}} or {{javax.enterprise.inject.spi.container}} or something else.

It's expected to have 2 or 3 methods in it

{code}
init();

init(Map<?,?> params);

shutdown();
{code}

> Bootstrap API for CDI
> ---------------------
>
>                 Key: CDI-26
>                 URL: https://issues.jboss.org/browse/CDI-26
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Packaging and Deployment
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>             Fix For: 2.0 (discussion)
>
>
> Weld and other CDI impls allow an embedded mode.
> See http://docs.jboss.org/weld/reference/latest/en-US/html/environments.html#d0e5417 for example



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the cdi-dev mailing list