You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ng...@apache.org on 2008/02/22 20:44:37 UTC

svn commit: r630300 - in /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder: AddressingAnnot.java MTOMAnnot.java RespectBindingAnnot.java

Author: ngallardo
Date: Fri Feb 22 11:44:33 2008
New Revision: 630300

URL: http://svn.apache.org/viewvc?rev=630300&view=rev
Log:
Adding definitions for new annotations.

Added:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/AddressingAnnot.java
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MTOMAnnot.java
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/RespectBindingAnnot.java

Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/AddressingAnnot.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/AddressingAnnot.java?rev=630300&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/AddressingAnnot.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/AddressingAnnot.java Fri Feb 22 11:44:33 2008
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.description.builder;
+
+import javax.xml.ws.soap.Addressing;
+
+import java.lang.annotation.Annotation;
+
+public class AddressingAnnot implements Addressing {
+
+    private boolean enabled;
+    private boolean required;
+    
+    public boolean enabled() {
+        return enabled;
+    }
+    
+    public void setEnabled(boolean e) {
+        enabled = e;
+    }
+
+    public boolean required() {
+        return required;
+    }
+    
+    public void setRequired(boolean r) {
+        required = r;
+    }
+
+    public Class<? extends Annotation> annotationType() {
+        return Addressing.class;
+    }
+
+}

Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MTOMAnnot.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MTOMAnnot.java?rev=630300&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MTOMAnnot.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MTOMAnnot.java Fri Feb 22 11:44:33 2008
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.description.builder;
+
+import javax.xml.ws.soap.MTOM;
+
+import java.lang.annotation.Annotation;
+
+public class MTOMAnnot implements MTOM {
+
+    private boolean enabled;
+    private int threshold;
+    
+    public boolean enabled() {
+        return enabled;
+    }
+    
+    public void setEnabled(boolean e) {
+        enabled = e;
+    }
+
+    public int threshold() {
+        return threshold;
+    }
+    
+    public void setThreshold(int i) {
+        threshold = i;
+    }
+
+    public Class<? extends Annotation> annotationType() {
+        return MTOM.class;
+    }
+}

Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/RespectBindingAnnot.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/RespectBindingAnnot.java?rev=630300&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/RespectBindingAnnot.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/RespectBindingAnnot.java Fri Feb 22 11:44:33 2008
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.description.builder;
+
+import javax.xml.ws.RespectBinding;
+
+import java.lang.annotation.Annotation;
+
+public class RespectBindingAnnot implements RespectBinding {
+
+    private boolean enabled;
+    
+    public boolean enabled() {
+        return enabled;
+    }
+    
+    public void setEnabled(boolean e) {
+        enabled = e;
+    }
+
+    public Class<? extends Annotation> annotationType() {
+        return RespectBinding.class;
+    }
+
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org