knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject [24/41] knox git commit: Separated dispatch from filters and added custom dispatch config KNOX-483
Date Thu, 12 Feb 2015 16:22:06 GMT
Separated dispatch from filters and added custom dispatch config KNOX-483


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

Branch: refs/heads/KNOX-481
Commit: f3c697b82d8367b92b9cf55c398f54eff0214dbc
Parents: 21d9a17
Author: Sumit Gupta <sumit@apache.org>
Authored: Thu Jan 15 23:46:01 2015 -0500
Committer: Sumit Gupta <sumit@apache.org>
Committed: Wed Feb 11 15:47:57 2015 -0500

----------------------------------------------------------------------
 .../gateway/service/definition/ServiceDefinition.java    | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/f3c697b8/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/ServiceDefinition.java
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/ServiceDefinition.java
b/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/ServiceDefinition.java
index cbb9309..9cbb9e0 100644
--- a/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/ServiceDefinition.java
+++ b/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/ServiceDefinition.java
@@ -38,6 +38,8 @@ public class ServiceDefinition {
 
   private CustomDispatch dispatch;
 
+  private CustomDispatch dispatch;
+
   @XmlAttribute
   public String getName() {
     return name;
@@ -93,4 +95,13 @@ public class ServiceDefinition {
   public void setDispatch(CustomDispatch dispatch) {
     this.dispatch = dispatch;
   }
+
+  @XmlElement(name = "dispatch")
+  public CustomDispatch getDispatch() {
+    return dispatch;
+  }
+
+  public void setDispatch(CustomDispatch dispatch) {
+    this.dispatch = dispatch;
+  }
 }


Mime
View raw message