001    package org.nakedobjects.applib.annotation;
002    
003    import java.lang.annotation.ElementType;
004    import java.lang.annotation.Inherited;
005    import java.lang.annotation.Retention;
006    import java.lang.annotation.RetentionPolicy;
007    import java.lang.annotation.Target;
008    
009    
010    /**
011     * <pre>
012     * e.g @Executed(Executed.Where.LOCALLY)
013     * </pre>
014     */
015    @Inherited
016    @Target( { ElementType.METHOD })
017    @Retention(RetentionPolicy.RUNTIME)
018    public @interface Executed {
019    
020        public enum Where {
021            LOCALLY, REMOTELY
022        }
023    
024        Where value();
025    }
026    
027    // Copyright (c) Naked Objects Group Ltd.