diff options
author | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-06 16:15:22 +0000 |
---|---|---|
committer | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-06 16:15:22 +0000 |
commit | 36b9377c69bbe76c8eb1e2682c126d53225cd484 (patch) | |
tree | 840aac276e13eba39192393148f77a4488a628bf /sca-java-2.x/tags/2.0-M5-RC3/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/AsyncFault.java | |
parent | 9e2d4ed8a4a3cca984a5dd5e8666ccb0cddf6f0b (diff) |
Tag for 2.0-M5 RC3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@951885 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/tags/2.0-M5-RC3/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/AsyncFault.java')
-rw-r--r-- | sca-java-2.x/tags/2.0-M5-RC3/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/AsyncFault.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sca-java-2.x/tags/2.0-M5-RC3/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/AsyncFault.java b/sca-java-2.x/tags/2.0-M5-RC3/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/AsyncFault.java new file mode 100644 index 0000000000..6f36f97bff --- /dev/null +++ b/sca-java-2.x/tags/2.0-M5-RC3/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/AsyncFault.java @@ -0,0 +1,27 @@ +/*
+ * Copyright(C) OASIS(R) 2005,2010. All Rights Reserved.
+ * OASIS trademark, IPR and other policies apply.
+ */
+package org.oasisopen.sca.annotation;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * The @AsyncFault annotation is used to indicate the faults/exceptions which are returned by
+ * the asynchronous service method which it annotates.
+ *
+ */
+@Inherited
+@Target({METHOD})
+@Retention(RUNTIME)
+public @interface AsyncFault {
+
+ Class<?>[] value() default {};
+
+}
+
|