All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.web.undertow.logging.UndertowClusteringLogger Maven / Gradle / Ivy

Go to download

This module adapts an implementation of wildfly-clustering-web-spi to the Undertow servlet container.

There is a newer version: 34.0.0.Final
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.web.undertow.logging;

import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;
import org.jboss.logging.Logger.Level;
import org.jboss.logging.annotations.LogMessage;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageLogger;

@MessageLogger(projectCode = "WFLYCLWEBUT", length = 4)
public interface UndertowClusteringLogger extends BasicLogger {

    UndertowClusteringLogger ROOT_LOGGER = Logger.getMessageLogger(UndertowClusteringLogger.class, "org.wildfly.clustering.web.undertow");

    @Message(id = 1, value = "Session %s is invalid")
    IllegalStateException sessionIsInvalid(String sessionId);

    @Message(id = 2, value = "Session %s already exists")
    IllegalStateException sessionAlreadyExists(String sessionId);

    @Message(id = 3, value = "Session manager was stopped")
    IllegalStateException sessionManagerStopped();

    @Message(id = 4, value = "Legacy  overriding attached distributable session management provider for %s")
    @LogMessage(level = Level.WARN)
    void legacySessionManagementProviderOverride(String deploymentName);

    @Message(id = 5, value = "No distributable session management provider found for %s; using legacy provider based on ")
    @LogMessage(level = Level.WARN)
    void legacySessionManagementProviderInUse(String name);

    @Message(id = 7, value = "No routing provider found for %s; using legacy provider based on static configuration")
    @LogMessage(level = Level.WARN)
    void legacyRoutingProviderInUse(String name);

    @Message(id = 8, value = "No distributable single sign-on management provider found for %s; using legacy provider based on static configuration")
    @LogMessage(level = Level.WARN)
    void legacySingleSignOnProviderInUse(String name);

    @Message(id = 9, value = "Invalidation attempted for session %s after the response was committed (e.g. after HttpServletResponse.sendRedirect or sendError)")
    IllegalStateException batchIsAlreadyClosed(String sessionId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy