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 06D1A200B68 for ; Fri, 19 Aug 2016 11:23:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0579C160AAC; Fri, 19 Aug 2016 09:23:33 +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 47FE4160A8E for ; Fri, 19 Aug 2016 11:23:32 +0200 (CEST) Received: (qmail 77933 invoked by uid 500); 19 Aug 2016 09:23:31 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 77924 invoked by uid 99); 19 Aug 2016 09:23:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2016 09:23:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2B048E00D6; Fri, 19 Aug 2016 09:23:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: <228df0fa3330436ca0e8140f41536492@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Making ext LoggingFeature auto-discoverable in SB Date: Fri, 19 Aug 2016 09:23:31 +0000 (UTC) archived-at: Fri, 19 Aug 2016 09:23:33 -0000 Repository: cxf Updated Branches: refs/heads/master 606c32c29 -> 5a6b69b38 Making ext LoggingFeature auto-discoverable in SB Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/5a6b69b3 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5a6b69b3 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5a6b69b3 Branch: refs/heads/master Commit: 5a6b69b381b4e1deab130ed3f4f4a0bb52eaf85a Parents: 606c32c Author: Sergey Beryozkin Authored: Fri Aug 19 10:23:14 2016 +0100 Committer: Sergey Beryozkin Committed: Fri Aug 19 10:23:14 2016 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/cxf/ext/logging/LoggingFeature.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/5a6b69b3/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingFeature.java ---------------------------------------------------------------------- diff --git a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingFeature.java b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingFeature.java index 51f1885..78e76a7 100644 --- a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingFeature.java +++ b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/LoggingFeature.java @@ -19,6 +19,8 @@ package org.apache.cxf.ext.logging; import org.apache.cxf.Bus; +import org.apache.cxf.annotations.Provider; +import org.apache.cxf.annotations.Provider.Type; import org.apache.cxf.common.injection.NoJSR250Annotations; import org.apache.cxf.ext.logging.event.LogEventSender; import org.apache.cxf.ext.logging.event.PrettyLoggingFilter; @@ -42,6 +44,7 @@ import org.apache.cxf.interceptor.InterceptorProvider; */ @NoJSR250Annotations +@Provider(value = Type.Feature) public class LoggingFeature extends AbstractFeature { private LogEventSender sender; private LoggingInInterceptor in;