cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Making ext LoggingFeature auto-discoverable in SB
Date Fri, 19 Aug 2016 09:25:33 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 81ed24d98 -> da7b9bf9b


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/da7b9bf9
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/da7b9bf9
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/da7b9bf9

Branch: refs/heads/3.1.x-fixes
Commit: da7b9bf9b0e0799ccf066e340035ece672ac2b07
Parents: 81ed24d
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Aug 19 10:23:14 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Aug 19 10:25:10 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/da7b9bf9/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;
   </pre>
  */
 @NoJSR250Annotations
+@Provider(value = Type.Feature)
 public class LoggingFeature extends AbstractFeature {
     private LogEventSender sender;
     private LoggingInInterceptor in;


Mime
View raw message