Author: richard.opalka(a)jboss.com
Date: 2010-09-13 08:31:24 -0400 (Mon, 13 Sep 2010)
New Revision: 12960
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java
Log:
[JBWS-3122] since now @WebServiceRef respects @Addressing, @MTOM & @RespectBinding
annotations
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java 2010-09-13
10:54:20 UTC (rev 12959)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java 2010-09-13
12:31:24 UTC (rev 12960)
@@ -104,6 +104,11 @@
private boolean addressingEnabled;
private boolean addressingRequired;
private String addressingResponses = "ALL";
+ // @MTOM annotation metadata
+ private boolean mtomEnabled;
+ private int mtomThreshold;
+ // @RespectBinding annotation metadata
+ private boolean respectBindingEnabled;
// The JAXWS annotated element. JDK1.4 does not have
java.lang.reflect.AnnotatedElement so we use an untyped Object
private transient Object anElement;
@@ -150,6 +155,31 @@
return this.addressingResponses;
}
+ public void setMtomEnabled() {
+ this.mtomEnabled = true;
+ }
+
+ public boolean isMtomEnabled() {
+ return this.mtomEnabled;
+ }
+
+ public void setMtomThreshold(final int threshold)
+ {
+ this.mtomThreshold = threshold;
+ }
+
+ public int getMtomThreshold() {
+ return this.mtomThreshold;
+ }
+
+ public void setRespectBindingEnabled() {
+ this.respectBindingEnabled = true;
+ }
+
+ public boolean isRespectBindingEnabled() {
+ return this.respectBindingEnabled;
+ }
+
public void merge(ServiceRefMetaData sref)
{
UnifiedServiceRefMetaData sourceRef = (UnifiedServiceRefMetaData)sref;
Show replies by date