summaryrefslogtreecommitdiff
path: root/src/library/scala/remote.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2011-07-15 16:25:42 +0000
committermichelou <michelou@epfl.ch>2011-07-15 16:25:42 +0000
commita0476af6bce252a7e724e6e99e50a80f0021ce78 (patch)
tree8d1cc42b8ae676330d776e7b722afa623585818b /src/library/scala/remote.scala
parentd79493bb728b4d47a1e333a0d8451b8e73c08041 (diff)
downloadscala-a0476af6bce252a7e724e6e99e50a80f0021ce78.tar.gz
scala-a0476af6bce252a7e724e6e99e50a80f0021ce78.tar.bz2
scala-a0476af6bce252a7e724e6e99e50a80f0021ce78.zip
2nd round of clean ups (see r25285)
Diffstat (limited to 'src/library/scala/remote.scala')
-rw-r--r--src/library/scala/remote.scala15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/library/scala/remote.scala b/src/library/scala/remote.scala
index 01805101be..bf6b440031 100644
--- a/src/library/scala/remote.scala
+++ b/src/library/scala/remote.scala
@@ -6,11 +6,22 @@
** |/ **
\* */
-
-
package scala
/**
* An annotation that designates the class to which it is applied as remotable.
+ *
+ * For instance, the Scala code
+ * {{{
+ * @remote trait Hello {
+ * def sayHello(): String
+ * }
+ * }}}
+ * is equivalent to the following Java code:
+ * {{{
+ * public interface Hello extends java.rmi.Remote {
+ * String sayHello() throws java.rmi.RemoteException;
+ * }
+ * }}}
*/
class remote extends annotation.StaticAnnotation {}