X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=luz2%2Fsrc%2Fcom%2Flavans%2Fluz2%2Flremote%2Fannotation%2FLRemote.java;fp=luz2%2Fsrc%2Fcom%2Flavans%2Fluz2%2Flremote%2Fannotation%2FLRemote.java;h=0000000000000000000000000000000000000000;hb=20726656a3267f6bb2897f287f3c7e1330f17816;hp=132b0ea4a179300cce2c79be00ef80b03e213a75;hpb=da6ee47fc11c867fcbf7a7b8a569c76f8fb5c62b;p=luz%2Fluz.git 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 index 132b0ea..0000000 --- a/luz2/src/com/lavans/luz2/lremote/annotation/LRemote.java +++ /dev/null @@ -1,47 +0,0 @@ -/* $Id: LRemote.java 16 2008-12-02 09:31:01Z lavans $ */ -package com.lavans.luz2.lremote.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - - -@Target({ElementType.TYPE, ElementType.METHOD}) -@Retention(RetentionPolicy.RUNTIME) -public @interface LRemote { - public static final String LOCAL="local"; - - public enum Selector { ORDERED, ROUNDROBIN, GROUP, OTHERS }; - /** - * Node group. Default is LOCAL. - * Set "local", the method is executed in local servlet container. - * Set groupname to execute the method in remote node. - * @return - */ - String group() default LOCAL; - - /** - * Target node. Default is Target.ORDERED. - * - * - * - * @return - */ - Selector selector() default Selector.ORDERED; - - /** - * Synchronized flag. Default is true. For group connector only. - * If set false, connector does not wait for remote execution, - * and can't get any results. Logging is the only way for confirm method result. - * @return - */ - boolean sync() default true; - -}