[
https://issues.apache.org/jira/browse/DELTASPIKE-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059931#comment-14059931
]
John D. Ament commented on DELTASPIKE-665:
------------------------------------------
[~struberg] That's what I thought as well, however it's looking like due to
various threading models used (e.g. in tomcat), you may end up needing to
create new ones.
> Add utility method to always get new context control.
> -----------------------------------------------------
>
> Key: DELTASPIKE-665
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-665
> Project: DeltaSpike
> Issue Type: Improvement
> Components: CdiControl
> Affects Versions: 1.0.0
> Reporter: John D. Ament
> Assignee: John D. Ament
> Fix For: 1.0.2
>
>
> While working on DELTASPIKE-653 I got tripped up on the fact that the context
> controller returned by the CdiContainer is one specific to the container
> object.
> Ideally, if we expect the SE features to be available without core, we should
> add a method to the container that always gives back a new instance of the
> controller. Certainlly, internally the controller can be used by the
> container to start the primary contexts, but for consumers we need to
> manually start a context.
--
This message was sent by Atlassian JIRA
(v6.2#6252)