[cdi-dev] [JBoss JIRA] (CDI-30) An API for managing built in contexts

John Ament (JIRA) issues at jboss.org
Sun May 15 17:56:00 EDT 2016


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

John Ament commented on CDI-30:
-------------------------------

HI Arjan,

I always find it easier to discuss on ML's but will try to answer you here.

I think what you're asking for is to intercept at the container level and change how they initialize.  I'm curious, under what cases do you not have an active request?

In addition, I think you're looking for the equivalent of {{Context.isActive}}.  Part of me even wonders if swapping around the impl to be {{Context.activate()}} and {{Context.deactivate()}} may be better from a domain standpoint.  

> An API for managing built in contexts
> -------------------------------------
>
>                 Key: CDI-30
>                 URL: https://issues.jboss.org/browse/CDI-30
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Contexts
>    Affects Versions: 1.0
>            Reporter: Nicklas Karlsson
>            Assignee: John Ament
>             Fix For: 2.0 (discussion)
>
>
> Add management API for built in contexts allowing them to be reused as needed.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list