JMX (Java Management Extensions) Question:
Download Questions PDF

What is a named pointcut and why to use one?

Answer:

A pointcut expression that has a name so it can be reused.
Resons To use:
☛ Annotation: @Pointcut applied to a dummy method - name of the dummy method is the name of the pointcut expression.
☛ XML aop:pointcut id=".." expression=".."

Download JMX Interview Questions And Answers PDF

Previous QuestionNext Question
List some types of advice?What are the various actions performed when an application context is created?