cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [11/36] cxf git commit: Making ext LoggingFeature auto-discoverable in SB
Date Thu, 25 Aug 2016 01:47:58 GMT
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-jaxrs-2.1
Commit: 5a6b69b381b4e1deab130ed3f4f4a0bb52eaf85a
Parents: 606c32c
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: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;
   </pre>
  */
 @NoJSR250Annotations
+@Provider(value = Type.Feature)
 public class LoggingFeature extends AbstractFeature {
     private LogEventSender sender;
     private LoggingInInterceptor in;


Mime
View raw message