public class TomcatConfigHelper extends Object
Constructor and Description |
---|
TomcatConfigHelper() |
Modifier and Type | Method and Description |
---|---|
static Optional<org.apache.commons.lang3.tuple.Pair<String,String>> |
getDatasourceCredentials()
This method searches the password from the datasource that could be defined in one of the possible XML files
|
static String |
getJavaRuntimeDirectory()
We read the Java Runtime installation directory from java.home system variable first,
and then default to JRE_HOME if JAVA_HOME is empty because Tomcat is doing so.
|
static Optional<String> |
getProxyPort() |
static boolean |
isStandardPort(int port) |
public static Optional<org.apache.commons.lang3.tuple.Pair<String,String>> getDatasourceCredentials()
public static String getJavaRuntimeDirectory()
public static boolean isStandardPort(int port)
Copyright © 2003–2016 Atlassian. All rights reserved.