Package com.jk.core.logging
Class JKLoggedInterceptor
java.lang.Object
com.jk.core.logging.JKLoggedInterceptor
- All Implemented Interfaces:
 Serializable
@Interceptor
@Priority(1000)
public class JKLoggedInterceptor
extends Object
implements Serializable
This class is an interceptor for logging method calls and their outcomes.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaroundInvoke(jakarta.interceptor.InvocationContext ctx) This method intercepts method calls and logs relevant information before and after invocation. 
- 
Constructor Details
- 
JKLoggedInterceptor
public JKLoggedInterceptor() 
 - 
 - 
Method Details
- 
aroundInvoke
This method intercepts method calls and logs relevant information before and after invocation.- Parameters:
 ctx- Specifies the invocation context, containing information about the method call.- Returns:
 - the result of the method invocation.
 - Throws:
 Exception- if an error occurs during method invocation.
 
 -