After Aspect
Learn how to perform a task after an intercepted method call has been executed and what to do in case it throws an exception.
We'll cover the following...
Logging is a cross-cutting concern for which aspects can be created. In this lesson, we will create another aspect that will log the values returned after the methods have been executed.
We will create an aspect in the io.datajek.springaop.movierecommenderaop.aspect
package. Create a class named LoggingAspect
and mark it with @Aspect
and @Configuration
annotations.
Access this course and 1400+ top-rated courses and projects.