[
https://issues.apache.org/jira/browse/DELTASPIKE-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428927#comment-13428927
]
Mark Struberg commented on DELTASPIKE-258:
------------------------------------------
Here we come to the core of the store:
Welds AbstractSharedContext#clear() is just clearing all stuff but not setting
a fresh ConcurrentHashMapBeanStore. Thus we need another way to start a new
Context.
According to stu we shall use the ManagedContext#invalidate() +
ManagedContext#deactivate() for stopping and ManagedContext#activate() for
starting again.
Here is a sample how it's done in AS7:
https://github.com/stuartwdouglas/jboss-as/blob/master/weld/src/main/java/org/jboss/as/weld/ejb/EjbRequestScopeActivationInterceptor.java#L92
> improve the compatibility with new versions of weld
> ---------------------------------------------------
>
> Key: DELTASPIKE-258
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-258
> Project: DeltaSpike
> Issue Type: Improvement
> Components: CdiControl
> Affects Versions: 0.2-incubating
> Reporter: Gerhard Petracek
> Assignee: Gerhard Petracek
> Fix For: 0.3-incubating
>
>
> org.jboss.weld.context.beanstore.BeanStore changed in the latest snapshots
> (and can be changed at any time). we should use a proxy for it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira