Skip to content

Commit

Permalink
Fix #207 Expose the platform default configurator directly
Browse files Browse the repository at this point in the history
Make ServerEndpointConfig.Configurator.getContainerDefaultConfigurator()
public.
  • Loading branch information
markt-asf committed Oct 1, 2021
1 parent 0f2e1f6 commit 398cb66
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020 Oracle and/or its affiliates and others.
* Copyright (c) 2018, 2021 Oracle and/or its affiliates and others.
* All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -96,7 +96,12 @@ static ServerEndpointConfig.Configurator fetchContainerDefaultConfigurator() {
throw new RuntimeException("Cannot load platform configurator");
}

ServerEndpointConfig.Configurator getContainerDefaultConfigurator() {
/**
* Return the platform default configurator.
*
* @return the platform default configurator
*/
public ServerEndpointConfig.Configurator getContainerDefaultConfigurator() {
if (this.containerDefaultConfigurator == null) {
this.containerDefaultConfigurator = fetchContainerDefaultConfigurator();
}
Expand Down

0 comments on commit 398cb66

Please sign in to comment.