Issue 35: Add preprocessor support for guit service methods. This should be done by aop, but you don't get injection with aop!
Status:  Fixed
Owner:
Closed:  Apr 2011
Project Member Reported by gal.dol...@gmail.com, Apr 1, 2011
public class LoginValidation implements GuitServicePreprocesor {
     @Inject
     LoginHelper loginHelper;

     @Override    
     public void run() {
           if (!loginHelper.isLogged()) {
                throw new LoginException();
           }
     }
}

@GuitServiceAnnotation(LoginValidator.class)
@Retention(RUNTIME)
@Target(Method)
public @interface LoginRequired {
}

@GuitService
public interface AdministrationService {
    ...

    @LoginRequired
    void destroySystem();
}
Apr 3, 2011
Project Member #1 gal.dol...@gmail.com
(No comment was entered for this change.)
Status: Fixed