java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,Site>
com.aoindustries.aoserv.client.CachedObject<Integer,Site>
com.aoindustries.aoserv.client.CachedObjectIntegerKey<Site>
com.aoindustries.aoserv.client.web.tomcat.Site
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AoservReadable,AoservStreamable,AoservWritable,SingleTableObject<Integer,Site>
An
HttpdTomcatSite indicates that an HttpdSite
uses the Jakarta Tomcat project as its servlet engine. The servlet
engine may be configured in several ways, only what is common to
every type of Tomcat installation is stored in HttpdTomcatSite.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final intThe minimum amount of time in milliseconds between Java VM starts.static final intThe minimum amount of time in milliseconds between Java VM start and stop.Fields inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
pkeyFields inherited from class com.aoindustries.aoserv.client.CachedObject
tableFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionSite()Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionintaddHttpdTomcatContext(String className, boolean cookies, boolean crossContext, PosixPath docBase, boolean override, String path, boolean privileged, boolean reloadable, boolean useNaming, String wrapperClass, int debug, PosixPath workDir, boolean serverXmlConfigured) intaddJkMount(String path, boolean mount) booleancanStart()Determines if the API user is allowed to start the Java virtual machine associated with this site.booleancanStop()Determines if the API user is allowed to stop the Java virtual machine associated with this site.booleanprotected ObjectgetColumnImpl(int i) getHttpdTomcatContext(String path) voidInitializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidsetBlockWebinf(boolean blockWebinf) startJvm()stopJvm()AoservObject.toString()implementation that is allowed to throw exceptions.voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
equals, getKey, getPkey, hashCodeMethods inherited from class com.aoindustries.aoserv.client.CachedObject
getTable, setTableMethods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
Field Details
-
COLUMN_HTTPD_SITE_name
- See Also:
-
MINIMUM_START_JVM_DELAY
public static final int MINIMUM_START_JVM_DELAYThe minimum amount of time in milliseconds between Java VM starts.- See Also:
-
MINIMUM_STOP_JVM_DELAY
public static final int MINIMUM_STOP_JVM_DELAYThe minimum amount of time in milliseconds between Java VM start and stop.- See Also:
-
-
Constructor Details
-
Site
Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
addHttpdTomcatContext
public int addHttpdTomcatContext(String className, boolean cookies, boolean crossContext, PosixPath docBase, boolean override, String path, boolean privileged, boolean reloadable, boolean useNaming, String wrapperClass, int debug, PosixPath workDir, boolean serverXmlConfigured) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addJkMount
- Throws:
IOExceptionSQLException
-
canStop
Determines if the API user is allowed to stop the Java virtual machine associated with this site.- Throws:
SQLExceptionIOException
-
canStart
Determines if the API user is allowed to start the Java virtual machine associated with this site.- Throws:
SQLExceptionIOException
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<Integer,Site>
-
getHttpdJbossSite
- Throws:
SQLExceptionIOException
-
getHttpdSite
- Throws:
SQLExceptionIOException
-
getHttpdTomcatContext
- Throws:
IOExceptionSQLException
-
getHttpdTomcatContexts
- Throws:
IOExceptionSQLException
-
getHttpdTomcatStdSite
- Throws:
IOExceptionSQLException
-
getHttpdTomcatVersion
- Throws:
SQLExceptionIOException
-
getHttpdWorkers
- Throws:
IOExceptionSQLException
-
getJkMounts
- Throws:
IOExceptionSQLException
-
getTableId
- Specified by:
getTableIdin classAoservObject<Integer,Site>
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<Integer,Site> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<Integer,Site> - Throws:
IOException
-
startJvm
- Throws:
IOExceptionSQLException
-
stopJvm
- Throws:
IOExceptionSQLException
-
toStringImpl
Description copied from class:AoservObjectAoservObject.toString()implementation that is allowed to throw exceptions.Implementation Note:
This default implementation callsAoservObject.toString()on the key (fromAoservObject.getKey()). When the key isnull, uses the default implementation fromObject.toString().- Overrides:
toStringImplin classCachedObjectIntegerKey<Site>- Throws:
SQLExceptionIOException
-
getBlockWebinf
public boolean getBlockWebinf() -
setBlockWebinf
- Throws:
IOExceptionSQLException
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<Integer,Site> - Throws:
IOException
-
