Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 27CA1200BAA for ; Thu, 27 Oct 2016 22:21:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 26537160AF6; Thu, 27 Oct 2016 20:21:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6E45B160AE6 for ; Thu, 27 Oct 2016 22:21:31 +0200 (CEST) Received: (qmail 26821 invoked by uid 500); 27 Oct 2016 20:21:30 -0000 Mailing-List: contact commits-help@openwebbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwebbeans.apache.org Delivered-To: mailing list commits@openwebbeans.apache.org Received: (qmail 26810 invoked by uid 99); 27 Oct 2016 20:21:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2016 20:21:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7043AC0B41 for ; Thu, 27 Oct 2016 20:21:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id G5jKoObgvjAo for ; Thu, 27 Oct 2016 20:21:29 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AAD665FC08 for ; Thu, 27 Oct 2016 20:21:28 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 82715E010F for ; Thu, 27 Oct 2016 20:21:27 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id B59183A0248 for ; Thu, 27 Oct 2016 20:21:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1766880 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java Date: Thu, 27 Oct 2016 20:21:26 -0000 To: commits@openwebbeans.apache.org From: rmannibucau@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20161027202126.B59183A0248@svn01-us-west.apache.org> archived-at: Thu, 27 Oct 2016 20:21:32 -0000 Author: rmannibucau Date: Thu Oct 27 20:21:26 2016 New Revision: 1766880 URL: http://svn.apache.org/viewvc?rev=1766880&view=rev Log: allowing AbstractMetaDataDiscovery children to customize URL logging Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java?rev=1766880&r1=1766879&r2=1766880&view=diff ============================================================================== --- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java (original) +++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java Thu Oct 27 20:21:26 2016 @@ -341,10 +341,17 @@ public abstract class AbstractMetaDataDi */ protected void addWebBeansXmlLocation(URL beanArchiveUrl) { + // just the logging there to let children customize the way it is printed out, + // no logic there but in doAddWebBeansXmlLocation(URL) please if(logger.isLoggable(Level.INFO)) { logger.info("added beans archive URL: " + beanArchiveUrl.toExternalForm()); } + doAddWebBeansXmlLocation(beanArchiveUrl); + } + + protected void doAddWebBeansXmlLocation(final URL beanArchiveUrl) + { beanArchiveLocations.add(beanArchiveUrl); // and also scan the bean archive!