public class MailQueueService extends AbstractService implements LocalService
log, name, SERVICE_EVENTNAME_COMPARATOR| Constructor and Description |
|---|
MailQueueService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This method is called when the service is unloaded (usually when the web application or server
is being shut down).
|
ObjectConfiguration |
getObjectConfiguration()
Retrieves an object configuration object with properties that can be set
|
void |
init(com.opensymphony.module.propertyset.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.
|
getDefaultProperty, getDescription, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, setNamepublic void run()
AbstractServicerun in interface JiraServicerun in interface Runnablerun in class AbstractServiceJiraService.init(com.opensymphony.module.propertyset.PropertySet)public void init(com.opensymphony.module.propertyset.PropertySet props)
throws ObjectConfigurationException
JiraServiceinit in interface JiraServiceinit in class AbstractServiceprops - initialisation parametersObjectConfigurationException - in case of an error with initialisation parameterspublic boolean isUnique()
AbstractServiceisUnique in interface JiraServiceisUnique in class AbstractServicepublic boolean isInternal()
AbstractServiceisInternal in interface JiraServiceisInternal in class AbstractServicepublic void destroy()
AbstractServicedestroy in interface JiraServicedestroy in class AbstractServicepublic ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException
ObjectConfigurablegetObjectConfiguration in interface ObjectConfigurableObjectConfigurationExceptionCopyright © 2002-2015 Atlassian. All Rights Reserved.