List of questions
Related questions
Question 16 - AD0-E722 discussion
An Adobe Commerce Architect needs to log the result of a ServiceClass:: getData method execution after all plugins have executed. The method is public, and there are a few plugins declared for this method. Among those plugins are after and around types, and all have sortOrder specified.
Which solution should be used to meet this requirement?
A.
Declare a new plugin with the sortOrder value lower than the lowest declared plugin sortOrder and implement aroundGetData method.
B.
Declare a new plugin with the sortOrder value higher than the highest declared plugin sortOrder and implement afterGetData method.
C.
Declare a new plugin with the sortOrder value higher than the highest declared plugin sortOrder and implement aroundGetData method.
Your answer:
0 comments
Sorted by
Leave a comment first