summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/sca-api/src/main/java/org/osoa/sca/annotations/Remotable.java
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-11-13 20:02:36 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-11-13 20:02:36 +0000
commit4ed0ed906e82c9484b384419fa4ef4c980768731 (patch)
treee0250b6d10349e29522a2b1667d2e1db4d9dab84 /branches/sca-java-1.x/modules/sca-api/src/main/java/org/osoa/sca/annotations/Remotable.java
parentba73f8abcef884936f965c3085b80485bf2b5e1a (diff)
Creating Java SCA 1.x branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@713805 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/sca-api/src/main/java/org/osoa/sca/annotations/Remotable.java')
-rw-r--r--branches/sca-java-1.x/modules/sca-api/src/main/java/org/osoa/sca/annotations/Remotable.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/sca-api/src/main/java/org/osoa/sca/annotations/Remotable.java b/branches/sca-java-1.x/modules/sca-api/src/main/java/org/osoa/sca/annotations/Remotable.java
new file mode 100644
index 0000000000..53d58b7dc1
--- /dev/null
+++ b/branches/sca-java-1.x/modules/sca-api/src/main/java/org/osoa/sca/annotations/Remotable.java
@@ -0,0 +1,26 @@
+/*
+ * (c) Copyright BEA Systems, Inc., Cape Clear Software, International Business Machines Corp, Interface21, IONA Technologies,
+ * Oracle, Primeton Technologies, Progress Software, Red Hat, Rogue Wave Software, SAP AG., Siemens AG., Software AG., Sybase
+ * Inc., TIBCO Software Inc., 2005, 2007. All rights reserved.
+ *
+ * see http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications
+ */
+package org.osoa.sca.annotations;
+
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation used to indicate a Java interface as remotable.
+ * Remotable interfaces use pass-by-value semantics, can be published as entry points
+ * and used for external services.
+ *
+ * @version $Rev$ $Date$
+ */
+@Target(TYPE)
+@Retention(RUNTIME)
+public @interface Remotable {
+}