AspectJ: parameter in a pointcut

后端 未结 5 1230
说谎
说谎 2021-01-01 01:54

I\'m using AspectJ to advice all the public methods which do have an argument of a chosen class. I tried the following:

pointcut permissionCheckMethods(Sessi         


        
5条回答
  •  温柔的废话
    2021-01-01 02:33

    @Before(value = "execution(public * *(.., org.springframework.data.domain.Pageable , ..))")
    private void isMethodPageable () {
        log.info("in a Aspect point cut isPageableParameterAvailable()");
    }
    

提交回复
热议问题