[ https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794468#comment-13794468 ]
Gerhard Petracek commented on MYFACES-3786: ------------------------------------------- if we ever need to support custom cdi scopes here, we have to do the lookup outside anyway (to store the instance itself) and if we do it via the el-resolver it won't even depend on cdi directly (then it depends on the location/s of the storage/s -> even different locations are possible). if we don't/never need custom scopes here (at least in the beginning), we can store the map (= storage) in the corresponding jsf-map (you don't lose functionality in this case since we are outside of the cdi internals for managing instances anyway) -> there is already a clear separation with it (which we can control easily). we need a storage (jsf scope-map/bean, cdi bean,...) to store the instance we handle manually via InjectionProvider (outside of InjectionProvider) anyway. -> with #4 the meta-data which might be needed later on (like CreationalContext) is just stored in the same storage and InjectionProvider doesn't need any code to handle scopes (again). > Web Container injection support should be provided for additional lifecycle > artifacts (not just managed beans) > -------------------------------------------------------------------------------------------------------------- > > Key: MYFACES-3786 > URL: https://issues.apache.org/jira/browse/MYFACES-3786 > Project: MyFaces Core > Issue Type: Task > Components: JSR-344 > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Fix For: 2.2.0 > > Attachments: cdiELresolverWeb.zip, cdiELResolver.zip, > cdiPartialViewContext.war, cdiPartialViewContext.zip, cdi.patch, > cdiphaselistener1.patch, cdiphaselistener2.patch, cdirevised.patch, > cdiValidatorSource.zip, cdiValidator.war, MYFACES-3786-1.patch, > MYFACES-3786-2.patch > > > This issue is all about how to inject beans into jsf artifacts. > See JSF 2.2 section 5.4.1 > The problem here is in some point we need to give the control to the > underlying environment to inject beans into the artifacts, but we don't know > much about how to properly do it, so we need to try with examples. -- This message was sent by Atlassian JIRA (v6.1#6144)