[jboss-cvs] JBossAS SVN: r109358 - in projects/metadata/common/trunk: src/main/java/org/jboss/metadata/javaee/spec and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 18 09:35:10 EST 2010


Author: richard.opalka at jboss.com
Date: 2010-11-18 09:35:10 -0500 (Thu, 18 Nov 2010)
New Revision: 109358

Modified:
   projects/metadata/common/trunk/pom.xml
   projects/metadata/common/trunk/src/main/java/org/jboss/metadata/javaee/spec/ServiceReferenceMetaData.java
Log:
[JBWS-3161] fixing issue

Modified: projects/metadata/common/trunk/pom.xml
===================================================================
--- projects/metadata/common/trunk/pom.xml	2010-11-18 09:24:55 UTC (rev 109357)
+++ projects/metadata/common/trunk/pom.xml	2010-11-18 14:35:10 UTC (rev 109358)
@@ -255,7 +255,7 @@
     <dependency>
       <groupId>org.jboss.ws</groupId>
       <artifactId>jbossws-spi</artifactId>
-      <version>1.4.0.CR3</version>
+      <version>1.4.1.CR1</version>
     </dependency>
 
     <dependency>

Modified: projects/metadata/common/trunk/src/main/java/org/jboss/metadata/javaee/spec/ServiceReferenceMetaData.java
===================================================================
--- projects/metadata/common/trunk/src/main/java/org/jboss/metadata/javaee/spec/ServiceReferenceMetaData.java	2010-11-18 09:24:55 UTC (rev 109357)
+++ projects/metadata/common/trunk/src/main/java/org/jboss/metadata/javaee/spec/ServiceReferenceMetaData.java	2010-11-18 14:35:10 UTC (rev 109358)
@@ -92,13 +92,16 @@
    // The optional <handler-chain> element. JAX-WS handler chain declared in the JBoss JavaEE5 descriptor
    private transient String handlerChain;
    // @Addressing annotation metadata
+   private transient boolean addressingAnnotationSpecified;
    private transient boolean addressingEnabled;
    private transient boolean addressingRequired;
    private transient String addressingResponses = "ALL";
    // @MTOM annotation metadata
+   private transient boolean mtomAnnotationSpecified;
    private transient boolean mtomEnabled;
    private transient int mtomThreshold;
    // @RespectBinding annotation metadata
+   private transient boolean respectBindingAnnotationSpecified;
    private transient boolean respectBindingEnabled;
    
    /**
@@ -205,7 +208,15 @@
    {
       this.handlerChain = handlerChain;
    }
+   
+   public void setAddressingAnnotationSpecified(final boolean addressingAnnotationSpecified) {
+      this.addressingAnnotationSpecified = addressingAnnotationSpecified;
+   }
 
+   public boolean isAddressingAnnotationSpecified() {
+      return this.addressingAnnotationSpecified;
+   }
+   
    public void setAddressingEnabled(final boolean addressingEnabled) {
       this.addressingEnabled = addressingEnabled;
    }
@@ -233,7 +244,17 @@
    public String getAddressingResponses() {
       return this.addressingResponses;
    }
+   
+   public void setMtomAnnotationSpecified(final boolean mtomAnnotationSpecified)
+   {
+      this.mtomAnnotationSpecified = mtomAnnotationSpecified;
+   }
 
+   public boolean isMtomAnnotationSpecified()
+   {
+      return this.mtomAnnotationSpecified;
+   }
+
    public void setMtomEnabled(final boolean mtomEnabled) {
       this.mtomEnabled = mtomEnabled;
    }
@@ -251,6 +272,16 @@
       return this.mtomThreshold;
    }
 
+   public void setRespectBindingAnnotationSpecified(final boolean respectBindingAnnotationSpecified)
+   {
+      this.respectBindingAnnotationSpecified = respectBindingAnnotationSpecified;
+   }
+
+   public boolean isRespectBindingAnnotationSpecified()
+   {
+      return this.respectBindingAnnotationSpecified;
+   }
+
    public void setRespectBindingEnabled(final boolean respectBindingEnabled) {
       this.respectBindingEnabled = respectBindingEnabled;
    }
@@ -494,11 +525,14 @@
       sb.append("\n ").append("serviceQname=").append(serviceQname);
       sb.append("\n ").append("portComponentRefs=").append(portComponentRef);
       sb.append("\n ").append("handlers=").append(handlers);
+      sb.append("\n ").append("addressingAnnotationSpecified=" + addressingAnnotationSpecified);
       sb.append("\n ").append("addressingEnabled=" + addressingEnabled);
       sb.append("\n ").append("addressingRequired=" + addressingRequired);
       sb.append("\n ").append("addressingResponses=" + addressingResponses);
+      sb.append("\n ").append("mtomAnnotationSpecified=" + mtomAnnotationSpecified);
       sb.append("\n ").append("mtomEnabled=" + mtomEnabled);
       sb.append("\n ").append("mtomThreshold=" + mtomThreshold);
+      sb.append("\n ").append("respectBindingAnnotationSpecified=" + respectBindingAnnotationSpecified);
       sb.append("\n ").append("respectBindingEnabled=" + respectBindingEnabled);
       sb.append("\n ").append("handlerChain=" + handlerChain);
       return sb.toString();
@@ -510,6 +544,7 @@
 
       if (addressingAnnotation != null)
       {
+         this.setAddressingAnnotationSpecified(true);
          this.setAddressingEnabled(addressingAnnotation.enabled());
          this.setAddressingRequired(addressingAnnotation.required());
          this.setAddressingResponses(addressingAnnotation.responses().toString());
@@ -522,6 +557,7 @@
 
       if (mtomAnnotation != null)
       {
+         this.setMtomAnnotationSpecified(true);
          this.setMtomEnabled(mtomAnnotation.enabled());
          this.setMtomThreshold(mtomAnnotation.threshold());
       }
@@ -533,6 +569,7 @@
 
       if (respectBindingAnnotation != null)
       {
+         this.setRespectBindingAnnotationSpecified(true);
          this.setRespectBindingEnabled(respectBindingAnnotation.enabled());
       }
    }



More information about the jboss-cvs-commits mailing list