My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

Would you like to be able to write code like this ?

@RetryOnException( e=MyException.class, retries=1 )
public void doIt() throws MyException {
    ...
}

the execution of doIt() is re-attempted 1 time if it exits throwing the exception MyException.

lego4j is about creating lightweight aspects like RetryOnException.

The following lightweight aspects will be included in release 0.1

  • RetryOnException
  • Log
  • Memoize
  • ...

For the time being, only support for Spring AOP is planned.

Powered by Google Project Hosting