Class JilterConfigurationWriter
java.lang.Object
com.aoindustries.aoserv.daemon.util.BuilderThread
com.aoindustries.aoserv.daemon.email.jilter.JilterConfigurationWriter
- All Implemented Interfaces:
TableListener,PackageManager.PackageListener
Writes new configuration files for the JilterConfiguration when AOServ tables have been updated.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
DEFAULT_MAXIMUM_DELAY, DEFAULT_MINIMUM_DELAY, DEFAULT_PROCESS_TIMER_MAXIMUM_TIME, DEFAULT_PROCESS_TIMER_REMINDER_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
getMaximumDelay, getMinimumDelay, getProcessTimerMaximumTime, getProcessTimerReminderInterval, getProcessTimerSubject, getRandomDelay, packageListUpdated, tableUpdated, waitForBuild
-
Constructor Details
-
JilterConfigurationWriter
public JilterConfigurationWriter()
-
-
Method Details
-
start
- Throws:
IOExceptionSQLException
-
getProcessTimerDescription
- Specified by:
getProcessTimerDescriptionin classBuilderThread
-
getJilterNetBind
Finds the Bind that the jilter should listen on. It looks for anything with app protocol='milter'. There must only be one or zero found.- Returns:
- the Bind or
nullif none found and jilter disabled. - Throws:
IOExceptionSQLException
-
doRebuild
protected boolean doRebuild()- Specified by:
doRebuildin classBuilderThread- Returns:
trueif successful orfalseif unsuccessful and needs to be retried.
-
