diff options
author | michelou <michelou@epfl.ch> | 2011-07-15 16:25:42 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2011-07-15 16:25:42 +0000 |
commit | a0476af6bce252a7e724e6e99e50a80f0021ce78 (patch) | |
tree | 8d1cc42b8ae676330d776e7b722afa623585818b /src/library/scala/remote.scala | |
parent | d79493bb728b4d47a1e333a0d8451b8e73c08041 (diff) | |
download | scala-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.scala | 15 |
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 {} |