[weld-issues] [JBoss JIRA] Commented: (WELD-687) Refactoring InstantiatorFactory to allow per-deployment configuration

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Sun Oct 10 00:02:39 EDT 2010


    [ https://jira.jboss.org/browse/WELD-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556201#action_12556201 ] 

Marius Bogoevici commented on WELD-687:
---------------------------------------

Actually. it's more complicated than this. InstantiatorFactory will decide on whether unsafe proxies are enabled or not depending on whether the first CDI application deployed on the server had unsafe proxies enabled or not.

> Refactoring InstantiatorFactory to allow per-deployment configuration
> ---------------------------------------------------------------------
>
>                 Key: WELD-687
>                 URL: https://jira.jboss.org/browse/WELD-687
>             Project: Weld
>          Issue Type: Feature Request
>    Affects Versions: 1.1.0.Beta1
>            Reporter: Marius Bogoevici
>             Fix For: 1.1.0.Beta2
>
>
> InstantiatorFactory is currently using static fields for storing the enabled/disabled status for unsafe instantiators, as well as the instantiator that should be used. In a shared library scenario, the instantiator factory will be enabled if at least one of the deployed applications contains the META-INF/org.jboss.weld.enableUnsafeProxies resource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list