Annotation Interface Recoverable


AOP around advice that can be applied to any type or method that requires Fallback handling.

When applied to a type if an exception occurs this advice will attempt to resolve an implementation of the class that is annotated with Fallback

Since:
1.0
Author:
graemerocher
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Used to specify the API to lookup fallbacks for.
  • Element Details

    • api

      Class<?> api
      Used to specify the API to lookup fallbacks for. This is useful in cases where the fallback is not a direct subclass of the implementation.
      Returns:
      The API to lookup a fallback for
      Since:
      2.0.0
      See Also:
      Default:
      void.class