| org.apache.james.transport.JamesSpoolManager
JamesSpoolManager | public class JamesSpoolManager extends AbstractLogEnabled implements Serviceable,Configurable,Initializable,Runnable,Disposable(Code) | | Manages the mail spool. This class is responsible for retrieving
messages from the spool, directing messages to the appropriate
processor, and removing them from the spool when processing is
complete.
version: CVS $Revision: 494012 $ $Date: 2007-01-08 11:23:58 +0100 (Mo, 08 Jan 2007) $ |
Method Summary | |
public void | configure(Configuration conf) | public void | dispose() The dispose operation is called at the end of a components lifecycle. | public void | initialize() | protected void | process(Mail mail) Process this mail message by the appropriate processor as designated
in the state of the Mail object. | public void | run() | public void | service(ServiceManager comp) |
configure | public void configure(Configuration conf) throws ConfigurationException(Code) | | See Also: org.apache.avalon.framework.configuration.Configurable.configure(Configuration) |
dispose | public void dispose()(Code) | | The dispose operation is called at the end of a components lifecycle.
Instances of this class use this method to release and destroy any
resources that they own.
This implementation shuts down the LinearProcessors managed by this
JamesSpoolManager
throws: Exception - if an error is encountered during shutdown |
initialize | public void initialize() throws Exception(Code) | | See Also: org.apache.avalon.framework.activity.Initializable.initialize |
process | protected void process(Mail mail)(Code) | | Process this mail message by the appropriate processor as designated
in the state of the Mail object.
Parameters: mail - the mail message to be processed |
run | public void run()(Code) | | This routinely checks the message spool for messages, and processes
them as necessary
|
service | public void service(ServiceManager comp) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(ServiceManager) |
|
|