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 <[email protected]> Authored: Fri Aug 19 10:23:14 2016 +0100 Committer: Sergey Beryozkin <[email protected]> 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;
