Sprache: Deutsch · English
Zusatzdaten vom Server zum Client transportieren – NuclosRemoteInvocationResult und userObject.
KONZEPT ENTWICKLER STAND: JUL 2026 GILT FUER NUCLOS 4.2026.X
Auf dieser Seite
Um zusätzliche Daten (neben dem eigentlichen Ergebnis) vom Server in den Client zu transportieren, gibt es NuclosRemoteInvocationResult und NuclosHttpInvokerServiceExporter.
NuclosRemoteInvocationResult enthält das übliche Server-Ergebnis und optional ein userObject.NuclosHttpInvokerServiceExporter.invokeAndCreateResult.NuclosHttpInvokerProxyFactoryBean.executeRequest nach dem Server-Call aus und bereitet es auf.final RemoteInvocationResult result = super.executeRequest(invocation);
if(result instanceof NuclosRemoteInvocationResult) {
NuclosRemoteInvocationResult nuclosResult = (NuclosRemoteInvocationResult) result;
// space for future use of this feature
}
Anwendungsfälle
Ursprünglich für Statistik gedacht (z.B. Anzahl SQL-Aufrufe oder Dauer eines Server-Calls) – besser als das Durchforsten von Log-Dateien.