cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6637] Making @GZIP/etc annotations @Inherited
Date Fri, 09 Oct 2015 15:35:03 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 0773feaea -> 55eb0b9b7


[CXF-6637] Making @GZIP/etc annotations @Inherited


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/55eb0b9b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/55eb0b9b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/55eb0b9b

Branch: refs/heads/master
Commit: 55eb0b9b7db0be5a9de9d5331d2b8bc9f3b8fc7e
Parents: 0773fea
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Oct 9 16:34:47 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Oct 9 16:34:47 2015 +0100

----------------------------------------------------------------------
 core/src/main/java/org/apache/cxf/annotations/DataBinding.java     | 2 ++
 .../main/java/org/apache/cxf/annotations/EndpointProperties.java   | 2 ++
 .../src/main/java/org/apache/cxf/annotations/EndpointProperty.java | 2 ++
 core/src/main/java/org/apache/cxf/annotations/FactoryType.java     | 2 ++
 core/src/main/java/org/apache/cxf/annotations/FastInfoset.java     | 2 ++
 core/src/main/java/org/apache/cxf/annotations/GZIP.java            | 2 ++
 core/src/main/java/org/apache/cxf/annotations/Logging.java         | 2 ++
 core/src/main/java/org/apache/cxf/annotations/Policies.java        | 2 ++
 core/src/main/java/org/apache/cxf/annotations/Policy.java          | 2 ++
 .../src/main/java/org/apache/cxf/annotations/SchemaValidation.java | 2 ++
 core/src/main/java/org/apache/cxf/annotations/UseAsyncMethod.java  | 2 ++
 .../main/java/org/apache/cxf/annotations/WSDLDocumentation.java    | 2 ++
 .../org/apache/cxf/annotations/WSDLDocumentationCollection.java    | 2 ++
 core/src/main/java/org/apache/cxf/feature/Features.java            | 2 ++
 14 files changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/DataBinding.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/DataBinding.java b/core/src/main/java/org/apache/cxf/annotations/DataBinding.java
index bde8521..4fdf090 100644
--- a/core/src/main/java/org/apache/cxf/annotations/DataBinding.java
+++ b/core/src/main/java/org/apache/cxf/annotations/DataBinding.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE })
+@Inherited
 public @interface DataBinding {
     Class<? extends org.apache.cxf.databinding.DataBinding> value();
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/EndpointProperties.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/EndpointProperties.java b/core/src/main/java/org/apache/cxf/annotations/EndpointProperties.java
index 05f8612..c223741 100644
--- a/core/src/main/java/org/apache/cxf/annotations/EndpointProperties.java
+++ b/core/src/main/java/org/apache/cxf/annotations/EndpointProperties.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE })
+@Inherited
 public @interface EndpointProperties {
     
     /**

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/EndpointProperty.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/EndpointProperty.java b/core/src/main/java/org/apache/cxf/annotations/EndpointProperty.java
index b80069e..0893697 100644
--- a/core/src/main/java/org/apache/cxf/annotations/EndpointProperty.java
+++ b/core/src/main/java/org/apache/cxf/annotations/EndpointProperty.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE })
+@Inherited
 public @interface EndpointProperty {
     
     /**

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/FactoryType.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/FactoryType.java b/core/src/main/java/org/apache/cxf/annotations/FactoryType.java
index 7da7f33..1c25db2 100644
--- a/core/src/main/java/org/apache/cxf/annotations/FactoryType.java
+++ b/core/src/main/java/org/apache/cxf/annotations/FactoryType.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -36,6 +37,7 @@ import org.apache.cxf.service.invoker.Factory;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE })
+@Inherited
 public @interface FactoryType {
 
     Type value() default Type.Singleton;

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/FastInfoset.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/FastInfoset.java b/core/src/main/java/org/apache/cxf/annotations/FastInfoset.java
index 0b7b1fe..1082d8c 100644
--- a/core/src/main/java/org/apache/cxf/annotations/FastInfoset.java
+++ b/core/src/main/java/org/apache/cxf/annotations/FastInfoset.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE })
+@Inherited
 public @interface FastInfoset {
     /**
      * Set to true in order for FastInfoset to be always used without negotiation

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/GZIP.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/GZIP.java b/core/src/main/java/org/apache/cxf/annotations/GZIP.java
index 209feef..5a697a9 100644
--- a/core/src/main/java/org/apache/cxf/annotations/GZIP.java
+++ b/core/src/main/java/org/apache/cxf/annotations/GZIP.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE })
+@Inherited
 public @interface GZIP {
     int threshold() default -1;
     boolean force() default false;

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/Logging.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/Logging.java b/core/src/main/java/org/apache/cxf/annotations/Logging.java
index 9c1b2f7..120e5b9 100644
--- a/core/src/main/java/org/apache/cxf/annotations/Logging.java
+++ b/core/src/main/java/org/apache/cxf/annotations/Logging.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -33,6 +34,7 @@ import org.apache.cxf.interceptor.AbstractLoggingInterceptor;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE })
+@Inherited
 public @interface Logging {
     /**
      * The size limit at which messages are truncated in the log 

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/Policies.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/Policies.java b/core/src/main/java/org/apache/cxf/annotations/Policies.java
index 5cb881d..1313b5d 100644
--- a/core/src/main/java/org/apache/cxf/annotations/Policies.java
+++ b/core/src/main/java/org/apache/cxf/annotations/Policies.java
@@ -22,6 +22,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -35,6 +36,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE, ElementType.METHOD })
+@Inherited
 public @interface Policies {
     Policy[] value();
 }

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/Policy.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/Policy.java b/core/src/main/java/org/apache/cxf/annotations/Policy.java
index 0f83fac..2967f5c 100644
--- a/core/src/main/java/org/apache/cxf/annotations/Policy.java
+++ b/core/src/main/java/org/apache/cxf/annotations/Policy.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE, ElementType.METHOD })
+@Inherited
 public @interface Policy {
     
     String uri();

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/SchemaValidation.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/SchemaValidation.java b/core/src/main/java/org/apache/cxf/annotations/SchemaValidation.java
index eb78ea4..5eb654e 100644
--- a/core/src/main/java/org/apache/cxf/annotations/SchemaValidation.java
+++ b/core/src/main/java/org/apache/cxf/annotations/SchemaValidation.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE, ElementType.METHOD })
+@Inherited
 public @interface SchemaValidation {
     public enum SchemaValidationType {
         IN, REQUEST, OUT, RESPONSE, BOTH, NONE

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/UseAsyncMethod.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/UseAsyncMethod.java b/core/src/main/java/org/apache/cxf/annotations/UseAsyncMethod.java
index 926e94c..dd48501 100644
--- a/core/src/main/java/org/apache/cxf/annotations/UseAsyncMethod.java
+++ b/core/src/main/java/org/apache/cxf/annotations/UseAsyncMethod.java
@@ -21,6 +21,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -57,6 +58,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.METHOD })
+@Inherited
 public @interface UseAsyncMethod {
     
     /**

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentation.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentation.java b/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentation.java
index 6e12418..6cb9a64 100644
--- a/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentation.java
+++ b/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentation.java
@@ -22,6 +22,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -33,6 +34,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE, ElementType.METHOD })
+@Inherited
 public @interface WSDLDocumentation {
     /**
      * The documentation to add

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentationCollection.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentationCollection.java
b/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentationCollection.java
index f4c99af..be9dd6c 100644
--- a/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentationCollection.java
+++ b/core/src/main/java/org/apache/cxf/annotations/WSDLDocumentationCollection.java
@@ -22,6 +22,7 @@ package org.apache.cxf.annotations;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -35,6 +36,7 @@ import java.lang.annotation.Target;
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.TYPE, ElementType.METHOD })
+@Inherited
 public @interface WSDLDocumentationCollection {
     WSDLDocumentation[] value();
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/55eb0b9b/core/src/main/java/org/apache/cxf/feature/Features.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/feature/Features.java b/core/src/main/java/org/apache/cxf/feature/Features.java
index 6d3acae..7e82423 100644
--- a/core/src/main/java/org/apache/cxf/feature/Features.java
+++ b/core/src/main/java/org/apache/cxf/feature/Features.java
@@ -19,12 +19,14 @@
 package org.apache.cxf.feature;
 
 import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
 @Target(ElementType.TYPE)
 @Retention(RetentionPolicy.RUNTIME)
+@Inherited
 public @interface Features {
     String[] features() default { };
     


Mime
View raw message