Package org.imageconverter.util.logging
Class LoggableAspect
java.lang.Object
org.imageconverter.util.logging.LoggableAspect
The Aspect to log the method enters and method exists.
- Author:
- Fernando Romulo da Silva
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The pointcut to annotated method.void
The pointcut to annotated class.log
(org.aspectj.lang.ProceedingJoinPoint point) Execute the wrap method.
-
Constructor Details
-
LoggableAspect
public LoggableAspect()
-
-
Method Details
-
annotatedMethod
public void annotatedMethod()The pointcut to annotated class. -
annotatedClass
public void annotatedClass()The pointcut to annotated method. -
log
Execute the wrap method.- Parameters:
point
- The object that support around advice in @AJ aspects- Returns:
- The methot's return
- Throws:
Throwable
- If something wrong happens
-