Language: Deutsch · English
Analyze client call sites on the server – DEV mode and NuclosClientThreadContextHolder.
HOW-TO DEVELOPER STAND: JUL 2026 GILT FUER NUCLOS 4.2026.X
Auf dieser Seite
Purpose
Intended purely for testing, e.g. to analyze unnecessary round trips and SQL queries.
From version 3.14, the client's call sites can be processed on the server. The client must be started in DEV mode; then its thread stack trace is sent to the server.
try {
NuclosClientThreadContextHolder holder = SpringApplicationContextHolder.getBean(NuclosClientThreadContextHolder.class);
if(holder.isSupported()) {
LOG.info(holder.getNuclosStackTraceElement().toString());
}
} catch(Exception e) {
// handle Exception here
}
NuclosClientThreadContextHolder.getNuclosStackTraceElement() returns all elements with nuclos in the package name.