Skip to content

Commit

Permalink
[RESTEASY-3439] Use the resolved ConfigurationFactory when creating t…
Browse files Browse the repository at this point in the history
…he Configuration to use in the ConfigurationBootstrap.

https://issues.redhat.com/browse/RESTEASY-3439
Signed-off-by: James R. Perkins <jperkins@redhat.com>
  • Loading branch information
jamezp committed Jan 18, 2024
1 parent 0724119 commit 9dc4c0a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -15,7 +15,7 @@
import org.jboss.resteasy.spi.ResteasyConfiguration;
import org.jboss.resteasy.spi.ResteasyDeployment;
import org.jboss.resteasy.spi.config.Configuration;
import org.jboss.resteasy.spi.config.DefaultConfiguration;
import org.jboss.resteasy.spi.config.ConfigurationFactory;
import org.jboss.resteasy.util.HttpHeaderNames;

/**
Expand All @@ -26,7 +26,7 @@
*/
public abstract class ConfigurationBootstrap implements ResteasyConfiguration {
private ResteasyDeployment deployment = new ResteasyDeploymentImpl();
private final Configuration config = new DefaultConfiguration(this);
private final Configuration config = ConfigurationFactory.getInstance().getConfiguration(this);

public ResteasyDeployment createDeployment() {
String deploymentSensitive = getParameter("resteasy.use.deployment.sensitive.factory");
Expand Down

0 comments on commit 9dc4c0a

Please sign in to comment.