Package com.aoindustries.aoserv.daemon
Class AoservDaemonConfiguration
java.lang.Object
com.aoindustries.aoserv.daemon.AoservDaemonConfiguration
The configuration for all AOServ processes is stored in a properties file.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic HashedKeyGets the named server ACL.static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic intgetMySqlConnections(Server.Name serverName) static Stringstatic longgetMySqlMaxConnectionAge(Server.Name serverName) static StringgetMySqlPassword(Server.Name serverName) static StringgetMySqlUser(Server.Name serverName) Gets the set of network monitors that should be enabled on this server.static intgetPostgresConnections(Server.Name serverName) static longgetPostgresMaxConnectionAge(Server.Name serverName) static StringgetPostgresPassword(Server.Name serverName) static Stringstatic Stringstatic Stringstatic booleanisManagerEnabled(Class<?> clazz) static booleanisNested()static boolean
-
Method Details
-
isNested
- Throws:
ConfigurationException
-
getMonitorEmailFullTo
- Throws:
ConfigurationException
-
getMonitorEmailFullFrom
- Throws:
ConfigurationException
-
getMonitorEmailSummaryTo
- Throws:
ConfigurationException
-
getMonitorEmailSummaryFrom
- Throws:
ConfigurationException
-
getMonitorSmtpServer
- Throws:
ConfigurationException
-
getServerHostname
- Throws:
ConfigurationException
-
getDaemonKey
- Throws:
ConfigurationException
-
getSslKeystorePassword
- Throws:
ConfigurationException
-
getSslKeystorePath
- Throws:
ConfigurationException
-
getPostgresPassword
- Throws:
ConfigurationException
-
getPostgresConnections
- Throws:
ConfigurationException
-
getPostgresMaxConnectionAge
public static long getPostgresMaxConnectionAge(Server.Name serverName) throws ConfigurationException - Throws:
ConfigurationException
-
getMySqlDriver
- Throws:
ConfigurationException
-
getMySqlUser
- Throws:
ConfigurationException
-
getMySqlPassword
- Throws:
ConfigurationException
-
getMySqlConnections
- Throws:
ConfigurationException
-
getMySqlMaxConnectionAge
- Throws:
ConfigurationException
-
getCyrusPassword
- Throws:
ConfigurationException
-
getNetworkMonitors
public static Map<String,AoservDaemonConfiguration.NetworkMonitorConfiguration> getNetworkMonitors() throws ConfigurationExceptionGets the set of network monitors that should be enabled on this server.- Throws:
ConfigurationException
-
isPackageManagerUninstallEnabled
- Throws:
ConfigurationException
-
isManagerEnabled
- Throws:
ConfigurationException
-
getDnsNamedAcl
Gets the named server ACL.- Throws:
ConfigurationException
-
