All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.monitor.logging.aop.ControllerAspect Maven / Gradle / Ivy

package org.zodiac.monitor.logging.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.util.StopWatch;
import org.springframework.web.bind.annotation.RequestMapping;

public interface ControllerAspect {
    Object log(ProceedingJoinPoint proceedingJoinPoint) throws Throwable;

    void logPostExecutionData(ProceedingJoinPoint proceedingJoinPoint, StopWatch timer, Object result,
        String returnType, RequestMapping methodRequestMapping, RequestMapping classRequestMapping, Throwable t);

    void logPreExecutionData(ProceedingJoinPoint proceedingJoinPoint, RequestMapping methodRequestMapping);

    void onException(JoinPoint joinPoint, Throwable t);

    void serialize(Object object, String objClassName, StringBuilder logMessage);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy