jcabi-aspects

by jcabi

Collection of AOP/AspectJ Java Aspects

445 Stars 142 Forks Last release: almost 5 years ago (0.22.3) Other 810 Commits 32 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

EO principles respected here Managed by Zerocracy DevOps By Rultor.com We recommend IntelliJ IDEA

Build Status PDD status Build status Coverage Status Javadoc

jpeek report Maven Central Dependencies

Issue Stats Issue Stats

More details are here: aspects.jcabi.com. Also, read this blog post: Java Method Logging with AOP and Annotations.

This module contains a collection of useful AOP aspects, which allow you to modify the behavior of a Java application without writing a line of code. For example, you may want to retry HTTP resource downloading in case of failure. You can implement a full

do/while
cycle yourself, or you can annotate your method with
@RetryOnFailure
and let one of our AOP aspects do the work for you:
public class MyResource {
  @RetryOnFailure
  public String load(URL url) {
    return url.openConnection().getContent();
  }
}

Full list of AOP annotations is here.

Questions?

If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.

How to contribute?

Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the

master
branch, if they look correct.

Please run Maven build before submitting a pull request:

$ mvn clean install -Pqulice

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.