|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.service.AbstractService com.atlassian.jira.service.services.mail.MailQueueService
Field Summary |
Fields inherited from class com.atlassian.jira.service.AbstractService |
log, name |
Constructor Summary | |
MailQueueService()
|
Method Summary | |
void |
destroy()
This method is called when the service is unloaded (usually when the web application or server is being shut down). |
com.atlassian.configurable.ObjectConfiguration |
getObjectConfiguration()
|
void |
init(com.opensymphony.module.propertyset.PropertySet props)
Initialise the service. |
boolean |
isInternal()
Indicates whether administrators can delete this service from within the web interface. |
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. |
Methods inherited from class com.atlassian.jira.service.AbstractService |
getDefaultProperty, getDescription, getKey, getLongProperty, getObjectConfiguration, getProperties, getProperty, hasProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MailQueueService()
Method Detail |
public void run()
AbstractService
run
in interface JiraService
run
in class AbstractService
public void init(com.opensymphony.module.propertyset.PropertySet props) throws com.atlassian.configurable.ObjectConfigurationException
JiraService
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.
init
in interface JiraService
init
in class AbstractService
com.atlassian.configurable.ObjectConfigurationException
public boolean isUnique()
AbstractService
isUnique
in interface JiraService
isUnique
in class AbstractService
public boolean isInternal()
JiraService
Generally only Atlassian services should return true from this.
isInternal
in interface JiraService
isInternal
in class AbstractService
public void destroy()
AbstractService
You may wish to remove any connections that you have established, eg. database connections.
destroy
in interface JiraService
destroy
in class AbstractService
public com.atlassian.configurable.ObjectConfiguration getObjectConfiguration() throws com.atlassian.configurable.ObjectConfigurationException
com.atlassian.configurable.ObjectConfigurationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |