org.wildfly.clustering.web.undertow.session.WebDeploymentConfigurationAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-clustering-web-undertow Show documentation
Show all versions of wildfly-clustering-web-undertow Show documentation
This module adapts an implementation of wildfly-clustering-web-spi to the Undertow servlet container.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.web.undertow.session;
import org.wildfly.clustering.web.container.WebDeploymentConfiguration;
/**
* @author Paul Ferraro
*/
public class WebDeploymentConfigurationAdapter implements org.wildfly.clustering.web.WebDeploymentConfiguration {
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();
}
}