[jbossws-commits] JBossWS SVN: r2850 - branches/JBWS-515/jbossws-core/src/java/org/jboss/ws/annotation.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Sat Apr 14 13:46:29 EDT 2007
Author: maeste
Date: 2007-04-14 13:46:29 -0400 (Sat, 14 Apr 2007)
New Revision: 2850
Added:
branches/JBWS-515/jbossws-core/src/java/org/jboss/ws/annotation/RMAssertion.java
Log:
Annotation for WSRM-Policy
Added: branches/JBWS-515/jbossws-core/src/java/org/jboss/ws/annotation/RMAssertion.java
===================================================================
--- branches/JBWS-515/jbossws-core/src/java/org/jboss/ws/annotation/RMAssertion.java (rev 0)
+++ branches/JBWS-515/jbossws-core/src/java/org/jboss/ws/annotation/RMAssertion.java 2007-04-14 17:46:29 UTC (rev 2850)
@@ -0,0 +1,41 @@
+package org.jboss.ws.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+
+ at Retention(value = RetentionPolicy.RUNTIME)
+ at Target(value = { ElementType.METHOD })
+public @interface RMAssertion {
+
+ /**
+ * A parameter that specifies a period of inactivity for a Sequence.
+ * If omitted, there is no implied value.
+ * The inactivity timeout duration, specified in milliseconds.
+ */
+ long inactivityTimeout();
+
+ /**
+ * A parameter that specifies how long the RM Source will wait after transmitting
+ * a message and before retransmitting the message.
+ * If omitted, there is no implied value.
+ * Specified in milliseconds.
+ */
+ long baseRetransmissionInterval();
+
+ /**
+ * A parameter that specifies that the retransmission interval
+ * will be adjusted using the exponential backoff algorithm [Tanenbaum].
+ * If omitted, there is no implied value.
+ */
+ boolean exponentialBackoff() default false;
+ /**
+ * A parameter that specifies the duration after which the RM Destination will transmit an acknowledgement.
+ * If omitted, there is no implied value
+ * Specified in milliseconds.
+ */
+ long acknowledgementInterval();
+
+}
More information about the jbossws-commits
mailing list