public class

MailQueueService

extends AbstractService
implements LocalService
java.lang.Object
   ↳ com.atlassian.jira.service.AbstractService
     ↳ com.atlassian.jira.service.services.mail.MailQueueService

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.service.AbstractService
[Expand]
Inherited Fields
From class com.atlassian.jira.service.AbstractService
From interface com.atlassian.jira.service.JiraService
Public Constructors
MailQueueService()
Public Methods
void destroy()
This method is called when the service is unloaded (usually when the web application or server is being shut down).
ObjectConfiguration getObjectConfiguration()
void init(PropertySet props)
Initialise the service.
boolean isInternal()
By default, returns false.
boolean isUnique()
By default, services are not unique.
void run()
This method must be implemented in a subclass, and performs the functionality that the service performs.
[Expand]
Inherited Methods
From class com.atlassian.jira.service.AbstractService
From class java.lang.Object
From interface com.atlassian.configurable.ObjectConfigurable
From interface com.atlassian.jira.service.JiraService
From interface java.lang.Runnable

Public Constructors

public MailQueueService ()

Public Methods

public void destroy ()

This method is called when the service is unloaded (usually when the web application or server is being shut down).

You may wish to remove any connections that you have established, eg. database connections.

public ObjectConfiguration getObjectConfiguration ()

public void init (PropertySet props)

Initialise the service. This method is guaranteed to be called before the first call to run().

As the parameters are gained from the user's interaction with the website, it is not guaranteed to be called with the correct, or indeed with any parameters.

init() may be called multiple times during the services lifetime.

Parameters
props initialisation parameters

public boolean isInternal ()

By default, returns false.

Returns
  • false

public boolean isUnique ()

By default, services are not unique.

Returns
  • false.

public void run ()

This method must be implemented in a subclass, and performs the functionality that the service performs. This method is called after the duration specified through the administration web interface.