public class StelltLoggingKontextBereitInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
| Constructor and Description |
|---|
StelltLoggingKontextBereitInterceptor(AufrufKontextToResolver aufrufKontextToResolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
determineKorrelationsIdDefaultHandling(org.aopalliance.intercept.MethodInvocation invocation)
Default handling if no Annotation is present.
|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
This aspect ensures that a correlation ID is generated if none is set in the AufrufKontext
and it is specified in the annotation that no AufrufKontext is passed as a parameter.
|
public StelltLoggingKontextBereitInterceptor(AufrufKontextToResolver aufrufKontextToResolver)
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorinvocation - the method callThrowable - if an exception occurred in the called methodpublic String determineKorrelationsIdDefaultHandling(org.aopalliance.intercept.MethodInvocation invocation)
Copyright © 2022. All rights reserved.