Class LatestVersionsResetAspect

java.lang.Object
org.cruk.clarity.api.impl.LatestVersionsResetAspect

@Component("clarityLatestVersionsResetAspect") public class LatestVersionsResetAspect extends Object
Aspect to ensure that the API will not fetch the latest versions of stateful entities on the next call.
Since:
2.24.8
  • Field Details

    • api

      protected ClarityAPIInternal api
      The API instance through its internal access methods.
  • Constructor Details

    • LatestVersionsResetAspect

      public LatestVersionsResetAspect()
      Constructor.
    • LatestVersionsResetAspect

      public LatestVersionsResetAspect(ClarityAPIInternal api)
  • Method Details

    • setClarityAPI

      @Autowired @Qualifier("clarityAPI") public void setClarityAPI(ClarityAPIInternal api)
      Sets the API being used.
      Parameters:
      api - The ClarityAPI bean.
    • cancelStatefulOverride

      public void cancelStatefulOverride(org.aspectj.lang.JoinPoint jp)
      Method invoked after any call on the API to not fetch the latest versions of stateful entities on the next call.
      Parameters:
      jp - The join point.
      See Also: