JMX (Java Management Extensions) Question:

Download Job Interview Questions and Answers PDF

What is a named pointcut and why to use one?

JMX Interview Question
JMX Interview Question

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?