Class HttpdJBossSiteManager<T extends TomcatCommon>
java.lang.Object
com.aoindustries.aoserv.daemon.httpd.HttpdSiteManager
com.aoindustries.aoserv.daemon.httpd.tomcat.HttpdTomcatSiteManager<T>
com.aoindustries.aoserv.daemon.httpd.jboss.HttpdJBossSiteManager<T>
- All Implemented Interfaces:
StopStartable
public abstract class HttpdJBossSiteManager<T extends TomcatCommon>
extends HttpdTomcatSiteManager<T>
Manages Site configurations.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aoindustries.aoserv.daemon.httpd.HttpdSiteManager
HttpdSiteManager.JkSetting, HttpdSiteManager.Location, HttpdSiteManager.PermanentRewriteRule, HttpdSiteManager.WebAppSettings -
Field Summary
FieldsFields inherited from class com.aoindustries.aoserv.daemon.httpd.tomcat.HttpdTomcatSiteManager
tomcatSiteFields inherited from class com.aoindustries.aoserv.daemon.httpd.HttpdSiteManager
httpdSite -
Method Summary
Modifier and TypeMethodDescriptionprotected voidflagNeedsRestart(Set<Site> sitesNeedingRestarted, Set<SharedTomcat> sharedTomcatsNeedingRestarted) Flags that the site needs restarted.static HttpdJBossSiteManager<? extends TomcatCommon> getInstance(Site jbossSite) Gets the specific manager for one type of web site.Gets the PID file for the wrapper script.Gets the path to the start/stop script.Gets the username to run the start/stop script as.Gets the working directory to run the start/stop script in.booleanDetermines if the persistent processes for this site should be running.Methods inherited from class com.aoindustries.aoserv.daemon.httpd.tomcat.HttpdTomcatSiteManager
buildSiteDirectory, buildSiteDirectoryContents, enableDisable, generateReadmeTxt, getHttpdWorker, getInstance, getJkSettings, getRejectedLocations, getRequiredPackages, getTomcatCommon, getWebapps, rebuildConfigFiles, start, stop, upgradeSiteDirectoryContentsMethods inherited from class com.aoindustries.aoserv.daemon.httpd.HttpdSiteManager
blockAllTraceAndTrackRequests, configureFtpDirectory, createCgiPhpScript, createTestIndex, enableAnonymousFtp, enableCgi, enablePhp, getApacheUid, getAutoWarningXml, getAutoWarningXmlOld, getInstance, getPermanentRewriteRules, startHttpdSite, stopAndDisableDaemons, stopHttpdSite
-
Field Details
-
jbossSite
-
-
Method Details
-
getInstance
public static HttpdJBossSiteManager<? extends TomcatCommon> getInstance(Site jbossSite) throws IOException, SQLException Gets the specific manager for one type of web site.- Throws:
IOExceptionSQLException
-
getPidFile
Description copied from class:HttpdTomcatSiteManagerGets the PID file for the wrapper script. When this file exists the script is assumed to be running. This PID file may be shared between multiple sites in the case of a shared Tomcat. Also, it is possible that the JVM may be disabled while the site overall is not.- Specified by:
getPidFilein classHttpdTomcatSiteManager<T extends TomcatCommon>- Returns:
- the .pid file or
nullif should not be running - Throws:
IOExceptionSQLException
-
isStartable
Description copied from interface:StopStartableDetermines if the persistent processes for this site should be running.- Throws:
IOExceptionSQLException
-
getStartStopScriptPath
Description copied from class:HttpdTomcatSiteManagerGets the path to the start/stop script.- Specified by:
getStartStopScriptPathin classHttpdTomcatSiteManager<T extends TomcatCommon>- Throws:
IOExceptionSQLException
-
getStartStopScriptUsername
Description copied from class:HttpdTomcatSiteManagerGets the username to run the start/stop script as.- Specified by:
getStartStopScriptUsernamein classHttpdTomcatSiteManager<T extends TomcatCommon>- Throws:
IOExceptionSQLException
-
getStartStopScriptWorkingDirectory
Description copied from class:HttpdTomcatSiteManagerGets the working directory to run the start/stop script in.- Specified by:
getStartStopScriptWorkingDirectoryin classHttpdTomcatSiteManager<T extends TomcatCommon>- Throws:
IOExceptionSQLException
-
flagNeedsRestart
protected void flagNeedsRestart(Set<Site> sitesNeedingRestarted, Set<SharedTomcat> sharedTomcatsNeedingRestarted) Description copied from class:HttpdTomcatSiteManagerFlags that the site needs restarted.- Specified by:
flagNeedsRestartin classHttpdTomcatSiteManager<T extends TomcatCommon>
-
