|
|||||||||||
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.file.AbstractMessageHandlingService com.atlassian.jira.service.services.pop.PopService
MailFetcherService
instead.
Connect to a POP mailbox specified by the 'mail-hostname', 'username' and 'password' parameters, and for each message call handleMessage().
Field Summary | |
protected java.lang.Long |
mailserverId
Deprecated. |
protected static java.lang.String |
POP_PROTOCOL
Deprecated. |
Fields inherited from class com.atlassian.jira.service.services.file.AbstractMessageHandlingService |
handler, KEY_HANDLER, KEY_HANDLER_PARAMS |
Fields inherited from class com.atlassian.jira.service.AbstractService |
name |
Constructor Summary | |
PopService()
Deprecated. |
Method Summary | |
void |
destroy()
Deprecated. 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()
Deprecated. |
protected java.lang.String |
getProtocol()
Deprecated. |
void |
init(com.opensymphony.module.propertyset.PropertySet props)
Deprecated. MUST pass 'mail-hostname', 'username' and 'password' as parameters |
void |
run()
Deprecated. Connect to the POP email box and then handle each message. |
Methods inherited from class com.atlassian.jira.service.services.file.AbstractMessageHandlingService |
getHandler |
Methods inherited from class com.atlassian.jira.service.AbstractService |
getDefaultProperty, getDescription, getKey, getLongProperty, getObjectConfiguration, getProperties, getProperty, hasProperty, isInternal, isUnique |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.configurable.ObjectConfigurable |
getDefaultProperty, getKey, getLongProperty, getProperties, getProperty, hasProperty |
Field Detail |
protected static final java.lang.String POP_PROTOCOL
protected java.lang.Long mailserverId
Constructor Detail |
public PopService()
Method Detail |
public void init(com.opensymphony.module.propertyset.PropertySet props) throws com.atlassian.configurable.ObjectConfigurationException
init
in interface JiraService
init
in class AbstractMessageHandlingService
com.atlassian.configurable.ObjectConfigurationException
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 void run()
run
in interface JiraService
run
in class AbstractService
public com.atlassian.configurable.ObjectConfiguration getObjectConfiguration() throws com.atlassian.configurable.ObjectConfigurationException
getObjectConfiguration
in interface com.atlassian.configurable.ObjectConfigurable
com.atlassian.configurable.ObjectConfigurationException
protected java.lang.String getProtocol()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |