public void start() { ClassLoader old = getTccl(); try { setTccl(servletContext.getClassLoader()); try { final Map<String, SessionPersistenceManager.PersistentSession> sessionData = sessionPersistenceManager.loadSessionAttributes( deploymentName, servletContext.getClassLoader()); if (sessionData != null) { this.data.putAll(sessionData); } } catch (Exception e) { UndertowServletLogger.ROOT_LOGGER.failedtoLoadPersistentSessions(e); } this.started = true; } finally { setTccl(old); } }
@Override public void log(final Exception exception, final String msg) { UndertowServletLogger.ROOT_LOGGER.error(msg, exception); }
@Override public void log(final String message, final Throwable throwable) { UndertowServletLogger.ROOT_LOGGER.error(message, throwable); }
@Override public void log(final String msg) { UndertowServletLogger.ROOT_LOGGER.info(msg); }