Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 53855 invoked from network); 1 Dec 2010 18:38:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Dec 2010 18:38:34 -0000 Received: (qmail 75833 invoked by uid 500); 1 Dec 2010 18:38:34 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 75787 invoked by uid 500); 1 Dec 2010 18:38:34 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 75780 invoked by uid 99); 1 Dec 2010 18:38:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 18:38:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 18:38:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB1IcClW014428 for ; Wed, 1 Dec 2010 18:38:13 GMT Message-ID: <27792311.51401291228692971.JavaMail.jira@thor> Date: Wed, 1 Dec 2010 13:38:12 -0500 (EST) From: "Jakob Korherr (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-2986) Provide an interface to override how to find spi interfaces In-Reply-To: <15456038.40211291169656968.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965786#action_12965786 ] Jakob Korherr commented on MYFACES-2986: ---------------------------------------- Ok, good solution :) > Provide an interface to override how to find spi interfaces > ----------------------------------------------------------- > > Key: MYFACES-2986 > URL: https://issues.apache.org/jira/browse/MYFACES-2986 > Project: MyFaces Core > Issue Type: Improvement > Components: JSR-314 > Affects Versions: 2.0.2 > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Fix For: 2.0.3-SNAPSHOT > > Attachments: MYFACES-2986-2.patch > > > This is the last step to solve MYFACES-2944 and MYFACES-2945 problem related to OSGi and SPI. Now it is possible to call > ServiceLoaderFinderFactory.setServiceLoaderFinder(ExternalContext ectx, ServiceLoaderFinder slp) > or > ServiceLoaderFinderFactory.setServiceLoaderFinder(ServletContext ctx, ServiceLoaderFinder slp) > Just before initialization to set a ServiceLoaderFinder that will be used later to locate SPI interfaces. In this way, it is possible to provide a code that looks SPI interfaces using OSGi bundles. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.