Return-Path: X-Original-To: apmail-incubator-any23-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-any23-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C4779611 for ; Mon, 20 Feb 2012 11:39:59 +0000 (UTC) Received: (qmail 93123 invoked by uid 500); 20 Feb 2012 11:39:59 -0000 Delivered-To: apmail-incubator-any23-dev-archive@incubator.apache.org Received: (qmail 93085 invoked by uid 500); 20 Feb 2012 11:39:59 -0000 Mailing-List: contact any23-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: any23-dev@incubator.apache.org Delivered-To: mailing list any23-dev@incubator.apache.org Received: (qmail 93043 invoked by uid 99); 20 Feb 2012 11:39:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 11:39:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 11:39:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8BEBE1C2C05 for ; Mon, 20 Feb 2012 11:39:34 +0000 (UTC) Date: Mon, 20 Feb 2012 11:39:34 +0000 (UTC) From: "Lewis John McGibbney (Commented) (JIRA)" To: any23-dev@incubator.apache.org Message-ID: <1600633469.2152.1329737974575.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <779809339.53894.1329562019562.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ANY23-50) Simplify plugin loading avoiding the classpath scanning 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/ANY23-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211783#comment-13211783 ] Lewis John McGibbney commented on ANY23-50: ------------------------------------------- I think this should definitely be commited? Once question, is there anything specific about the Any23 plugin system which make this issue only applicable to Any23? What I mean, is would it be possible to aplly this issue in a project elsewhere which relies heavily on plugins? (e.g. Nutch) > Simplify plugin loading avoiding the classpath scanning > ------------------------------------------------------- > > Key: ANY23-50 > URL: https://issues.apache.org/jira/browse/ANY23-50 > Project: Apache Any23 > Issue Type: Improvement > Affects Versions: 0.7.0 > Reporter: Simone Tripodi > Assignee: Simone Tripodi > Fix For: 0.7.0 > > Attachments: ANY23-50.patch > > > As already discussed in [ML|http://markmail.org/message/airsqz6wp6y7bfih] I started having a look at an alternative solution to load plugins avoiding to scan the classpath, using the builtin [ServiceLoader|http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html] pattern. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira