OSDN Git Service

test
[luz/luz.git] / luz2 / src / com / lavans / luz2 / lremote / annotation / LRemote.java
diff --git a/luz2/src/com/lavans/luz2/lremote/annotation/LRemote.java b/luz2/src/com/lavans/luz2/lremote/annotation/LRemote.java
deleted file mode 100644 (file)
index 132b0ea..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/* $Id: LRemote.java 16 2008-12-02 09:31:01Z lavans $ */\r
-package com.lavans.luz2.lremote.annotation;\r
-\r
-import java.lang.annotation.ElementType;\r
-import java.lang.annotation.Retention;\r
-import java.lang.annotation.RetentionPolicy;\r
-import java.lang.annotation.Target;\r
-\r
-\r
-@Target({ElementType.TYPE, ElementType.METHOD})\r
-@Retention(RetentionPolicy.RUNTIME)\r
-public @interface LRemote {\r
-       public static final String LOCAL="local";\r
-\r
-       public enum Selector { ORDERED, ROUNDROBIN, GROUP, OTHERS };\r
-       /**\r
-        * Node group. Default is LOCAL.\r
-        * Set "local", the method is executed in local servlet container.\r
-        * Set groupname to execute the method in remote node.\r
-        * @return\r
-        */\r
-       String group() default LOCAL;\r
-\r
-       /**\r
-        * Target node. Default is Target.ORDERED.\r
-        * <ul>Single connector\r
-        * <li>ORDERED</li>\r
-        * <li>ROUNDROBIN</li>\r
-        * </ul>\r
-        * <ul>Group connector\r
-        * <li>GROUP: execute in all node of group include itself.</li>\r
-        * <li>OTHERS: execute in all other node. Local server doesn't execute.</li>\r
-        * </ul>\r
-        *\r
-        * @return\r
-        */\r
-       Selector selector() default Selector.ORDERED;\r
-\r
-       /**\r
-        * Synchronized flag. Default is true. For group connector only.\r
-        * If set <code>false</code>, connector does not wait for remote execution,\r
-        * and can't get any results. Logging is the only way for confirm method result.\r
-        * @return\r
-        */\r
-       boolean sync() default true;\r
-       \r
-}\r