JMX (Java Management Extensions) Question:

What is a named pointcut and why to use one?

Tweet Share WhatsApp

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 PDF Read All 30 JMX Questions
Previous QuestionNext Question
List some types of advice?What are the various actions performed when an application context is created?