java.lang.Object
org.cruk.clarity.api.impl.LatestVersionsResetAspect
Aspect to ensure that the API will not fetch the latest versions of stateful entities
on the next call.
- Since:
- 2.24.8
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClarityAPIInternalThe API instance through its internal access methods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod invoked after any call on the API to not fetch the latest versions of stateful entities on the next call.voidSets the API being used.
-
Field Details
-
api
The API instance through its internal access methods.
-
-
Constructor Details
-
LatestVersionsResetAspect
public LatestVersionsResetAspect()Constructor.
-
-
Method Details
-
setClarityAPI
Sets the API being used.- Parameters:
api- The ClarityAPI bean.
-
cancelStatefulOverride
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:
-