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

org.wildfly.clustering.web.undertow.session.WebDeploymentConfigurationAdapter 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.session;

import org.wildfly.clustering.server.deployment.DeploymentConfiguration;
import org.wildfly.clustering.web.container.WebDeploymentConfiguration;

/**
 * @author Paul Ferraro
 */
public class WebDeploymentConfigurationAdapter implements DeploymentConfiguration {

    private final WebDeploymentConfiguration configuration;

    public WebDeploymentConfigurationAdapter(WebDeploymentConfiguration configuration) {
        this.configuration = configuration;
    }

    @Override
    public String getServerName() {
        return this.configuration.getServerName();
    }

    @Override
    public String getDeploymentName() {
        return this.configuration.getDeploymentName();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy