Question
a.
@Before
b.
@After
c.
@AfterReturning
d.
All of the mentioned
Posted under Java Spring Framework
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following is advice supported by Aspect Annotation?
Similar Questions
Discover Related MCQs
Q. An advice is an action which comes into play at pointcuts.
View solution
Q. Which advice is executed once a joint point finishes?
View solution
Q. Which advice is executed only when joint point returns or throws an exception?
View solution
Q. Which advice combines all advices into one?
View solution
Q. An advice can access the current join point information by declaring an argument of type org.aspectj.lang.AdvicePoint in the advice method signature.
View solution
Q. Which interface is implemented to specify precedence of aspects?
View solution
Q. Alternative annotative way to specify precedence of aspects?
View solution
Q. Method which returns the highest priority of aspect’s join point?
View solution
Q. Which instantiation model is supported by AspectJ?
View solution
Q. Which tag in XML is used to declare @Before advice’s method?
View solution
Q. PointCut definitions can’t be reused again
View solution
Q. Annotation used to refer poincuts?
View solution
Q. Language used to set various kinds of join points
View solution
Q. Spring AOP only supports method execution join points for the beans in its IoC container
View solution
Q. The annotations must be added to the implementation class but not the interface
View solution
Q. Which of the following pattern is used to match bean name?
View solution
Q. Bean name patterns are supported by all configurations(XML,Java,AspectJ)
View solution
Q. Expressions which returns Parameters of pointcuts?
View solution
Q. Are logical operators valid in pointcut expressions?
View solution
Q. Method which checks if all target classes are matched
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Spring Framework? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!