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
-
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:
IOException
SQLException
-
getProcessTimerDescription
- Specified by:
getProcessTimerDescription
in 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
null
if none found and jilter disabled. - Throws:
IOException
SQLException
-
doRebuild
protected boolean doRebuild()- Specified by:
doRebuild
in classBuilderThread
- Returns:
true
if successful orfalse
if unsuccessful and needs to be retried.
-