@Test public void testGetJavaHomeForDefault() { final TomcatManagedConfiguration commonTomcatManagedConfiguration = new TomcatManagedConfiguration(); final String expectedJavaHome = System.getProperty(TomcatManagedConfiguration.JAVA_HOME_SYSTEM_PROPERTY); final String actualJavaHome = commonTomcatManagedConfiguration.getJavaHome(); assertEquals(expectedJavaHome, actualJavaHome); }
public String getJavaHome() { return javaHome; }
TomcatManagedConfiguration extends TomcatConfiguration { public String getJavaHome() { return javaHome; } }
TomcatManagedConfiguration extends TomcatConfiguration { public String getJavaHome() { return javaHome; } TomcatManagedConfiguration(); }
TomcatManagedConfiguration extends TomcatConfiguration { public String getJavaHome() { return javaHome; } TomcatManagedConfiguration(); @Override void validate(); String getCatalinaHome(); void setCatalinaHome(final String catalinaHome); String getCatalinaBase(); void setCatalinaBase(final String catalinaBase); String getJavaHome(); void setJavaHome(final String javaHome); String getJavaVmArguments(); void setJavaVmArguments(final String javaVmArguments); int getStartupTimeoutInSeconds(); void setStartupTimeoutInSeconds(final int startupTimeoutInSeconds); int getShutdownTimeoutInSeconds(); void setShutdownTimeoutInSeconds(final int shutdownTimeoutInSeconds); String getWorkDir(); void setWorkDir(final String workDir); String getServerConfig(); void setServerConfig(final String serverConfig); String getLoggingProperties(); void setLoggingProperties(final String loggingProperties); void setOutputToConsole(final boolean outputToConsole); boolean isOutputToConsole(); }
TomcatManagedConfiguration extends TomcatConfiguration { public String getJavaHome() { return javaHome; } TomcatManagedConfiguration(); @Override void validate(); String getCatalinaHome(); void setCatalinaHome(final String catalinaHome); String getCatalinaBase(); void setCatalinaBase(final String catalinaBase); String getJavaHome(); void setJavaHome(final String javaHome); String getJavaVmArguments(); void setJavaVmArguments(final String javaVmArguments); int getStartupTimeoutInSeconds(); void setStartupTimeoutInSeconds(final int startupTimeoutInSeconds); int getShutdownTimeoutInSeconds(); void setShutdownTimeoutInSeconds(final int shutdownTimeoutInSeconds); String getWorkDir(); void setWorkDir(final String workDir); String getServerConfig(); void setServerConfig(final String serverConfig); String getLoggingProperties(); void setLoggingProperties(final String loggingProperties); void setOutputToConsole(final boolean outputToConsole); boolean isOutputToConsole();  }