[ https://issues.apache.org/jira/browse/FELIX-5243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260819#comment-15260819 ]
Guillaume Nodet commented on FELIX-5243: ---------------------------------------- The cdi code using this refactored scr impl is available at https://github.com/gnodet/aries-cdi/tree/master/cdi-osgi/src/main/java/org/apache/aries/cdi/impl/osgi The cdi beans are transformed into scr component metadata. Scr is used to track dependencies and component lifecycle, but injection is done by CDI. > Make the code more reusable > --------------------------- > > Key: FELIX-5243 > URL: https://issues.apache.org/jira/browse/FELIX-5243 > Project: Felix > Issue Type: Improvement > Components: Declarative Services (SCR) > Reporter: Guillaume Nodet > > I'm investigating reusing the SCR code to implement an CDI extension for OSGi > with bean lifecycle similar to SCR, to it makes sense to simply reuse the > code. > The overall idea is to be able to embed only a the core packages needed > (helper, manager, metadata). -- This message was sent by Atlassian JIRA (v6.3.4#6332)