Author: richard.opalka(a)jboss.com
Date: 2011-08-15 08:23:15 -0400 (Mon, 15 Aug 2011)
New Revision: 14843
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedPortComponentRefMetaData.java
Log:
[JBWS-3338] extending SPI to support distinction between no @Addressing and
@Addressing(enabled='false') for ports construction from service refs.
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedPortComponentRefMetaData.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedPortComponentRefMetaData.java 2011-08-15
06:08:06 UTC (rev 14842)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedPortComponentRefMetaData.java 2011-08-15
12:23:15 UTC (rev 14843)
@@ -57,6 +57,7 @@
// The optional JBossWS config-file
private String configFile;
// The optional <adressing> element
+ private boolean addressingAnnotationSpecified;
private boolean addressingEnabled;
private boolean addressingRequired;
private String addressingResponses = "ALL";
@@ -65,6 +66,7 @@
// The optional <mtom-threshold> element
private int mtomThreshold;
// @RespectBinding annotation metadata
+ private boolean respectBindingAnnotationSpecified;
private boolean respectBindingEnabled;
public UnifiedPortComponentRefMetaData(UnifiedServiceRefMetaData serviceRefMetaData)
@@ -77,6 +79,16 @@
return serviceRefMetaData;
}
+ public void setAddressingAnnotationSpecified(final boolean
addressingAnnotationSpecified)
+ {
+ this.addressingAnnotationSpecified = addressingAnnotationSpecified;
+ }
+
+ public boolean isAddressingAnnotationSpecified()
+ {
+ return addressingAnnotationSpecified;
+ }
+
public void setAddressingEnabled(final boolean addressingEnabled) {
this.addressingEnabled = addressingEnabled;
}
@@ -122,6 +134,16 @@
return this.mtomThreshold;
}
+ public void setRespectBindingAnnotationSpecified(final boolean
respectBindingAnnotationSpecified)
+ {
+ this.respectBindingAnnotationSpecified = respectBindingAnnotationSpecified;
+ }
+
+ public boolean isRespectBindingAnnotationSpecified()
+ {
+ return respectBindingAnnotationSpecified;
+ }
+
public void setRespectBindingEnabled(final boolean respectBindingEnabled) {
this.respectBindingEnabled = respectBindingEnabled;
}
@@ -245,11 +267,13 @@
str.append("\nUnifiedPortComponentRef");
str.append("\n serviceEndpointInterface=" + serviceEndpointInterface);
str.append("\n portQName=" + portQName);
+ str.append("\n addressingAnnotationSpecified=" +
addressingAnnotationSpecified);
str.append("\n addressingEnabled=" + addressingEnabled);
str.append("\n addressingRequired=" + addressingRequired);
str.append("\n addressingResponses=" + addressingResponses);
str.append("\n mtomEnabled=" + mtomEnabled);
str.append("\n mtomThreshold=" + mtomThreshold);
+ str.append("\n respectBindingAnnotationSpecified=" +
respectBindingAnnotationSpecified);
str.append("\n respectBindingEnabled=" + respectBindingEnabled);
str.append("\n portComponentLink=" + portComponentLink);
str.append("\n callProperties=" + callProperties);
Show replies by date