Class TomcatCommon
java.lang.Object
com.aoindustries.aoserv.daemon.httpd.tomcat.TomcatCommon
- Direct Known Subclasses:
TomcatCommon_3_X
,VersionedTomcatCommon
Some common code for all installations of Tomcat.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
Gets the name of the Tomcat directory under/opt/
.protected abstract Set<PackageManager.PackageName>
Gets any packages that must be installed for this site.abstract void
writeHttpdTomcatDataSource
(ContextDataSource dataSource, ChainWriter out) Writes a single data source.void
writeHttpdTomcatParameter
(ContextParameter parameter, ChainWriter out) Writes a single parameter.
-
Method Details
-
getRequiredPackages
protected abstract Set<PackageManager.PackageName> getRequiredPackages() throws IOException, SQLExceptionGets any packages that must be installed for this site.- Throws:
IOException
SQLException
-
writeHttpdTomcatParameter
public void writeHttpdTomcatParameter(ContextParameter parameter, ChainWriter out) throws IOException Writes a single parameter.- Throws:
IOException
-
writeHttpdTomcatDataSource
public abstract void writeHttpdTomcatDataSource(ContextDataSource dataSource, ChainWriter out) throws IOException, SQLException Writes a single data source.- Throws:
IOException
SQLException
-
getApacheTomcatDir
Gets the name of the Tomcat directory under/opt/
.
-