| | |
| | | /** |
| | | * Pointcut that matches all Spring beans in the application's main packages. |
| | | */ |
| | | @Pointcut("within(com.pollex.pam.repository..*)" + " || within(com.pollex.pam.service..*)" + " || within(com.pollex.pam.web.rest..*)") |
| | | @Pointcut("within(com.pollex.pam.business.repository..*)" + " || within(com.pollex.pam.business.service..*)" + " || within(com.pollex.pam.web.rest..*)") |
| | | public void applicationPackagePointcut() { |
| | | // Method is empty as this is just a Pointcut, the implementations are in the advices. |
| | | } |
| | |
| | | try { |
| | | Object result = joinPoint.proceed(); |
| | | if (log.isDebugEnabled()) { |
| | | log.debug("Exit: {}() with result = {}", joinPoint.getSignature().getName(), result); |
| | | if(!(result instanceof byte[])){ |
| | | log.debug("Exit: {}() with result = {}", joinPoint.getSignature().getName(), result); |
| | | } |
| | | } |
| | | return result; |
| | | } catch (IllegalArgumentException e) { |