JMX (Java Management Extensions) Question:
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=".."
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=".."
Previous Question | Next Question |
List some types of advice? | What are the various actions performed when an application context is created? |