[ 
http://jira.nuxeo.org/browse/NXP-3677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54078#action_54078
 ] 

Jean-Marc Orliaguet commented on NXP-3677:
------------------------------------------

see http://hg.nuxeo.org/nuxeo/nuxeo-features/rev/2ebdfe9e2f71

I've added a <factory>...</factory> tag to specify a provider factory.
<class>...</class> is still used for backward compatibility.

If <class> is specified, <factory> is ignored.

also, why do you need to pass the WebContext, it ought to be accessible from 
anywhere in the code with WebEngine.getActiveContext() ?

> Persistence provider needs to be more configurable
> --------------------------------------------------
>
>                 Key: NXP-3677
>                 URL: http://jira.nuxeo.org/browse/NXP-3677
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>            Reporter: Alexandre Russel
>            Assignee: Jean-Marc Orliaguet
>         Attachments: providerFactory.patch
>
>
> At the moment, a provider is instanciated for each user session depending on 
> the name. We needs more configurability to do thing such as:
> * use only one instance of provider if just a set of widget will be shown for 
> every user
> * provider used depending on groups or rights 
> ...
> A simple solution would be to use a ProviderFactory instead of a Provider in 
> the configuration. The provider factory would be responsible to cache the 
> providers according to its own logic.

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

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to