com.liferay.portal.pop.messaging
Class POPNotificationsMessageListener
java.lang.Object
com.liferay.portal.pop.messaging.POPNotificationsMessageListener
- All Implemented Interfaces:
- com.liferay.portal.kernel.messaging.MessageListener
public class POPNotificationsMessageListener
- extends java.lang.Object
- implements com.liferay.portal.kernel.messaging.MessageListener
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
protected void |
doReceive(com.liferay.portal.kernel.messaging.Message message)
|
protected java.lang.String |
getEmailAddress(javax.mail.Address[] addresses)
|
protected void |
initInboxFolder()
|
protected void |
initStore()
|
protected void |
nostifyListeners(java.util.List<com.liferay.portal.kernel.pop.MessageListener> listeners,
javax.mail.Message message)
|
protected void |
nostifyListeners(javax.mail.Message[] messages)
|
protected void |
pollPopServer()
|
void |
receive(com.liferay.portal.kernel.messaging.Message message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POPNotificationsMessageListener
public POPNotificationsMessageListener()
receive
public void receive(com.liferay.portal.kernel.messaging.Message message)
- Specified by:
receive
in interface com.liferay.portal.kernel.messaging.MessageListener
doReceive
protected void doReceive(com.liferay.portal.kernel.messaging.Message message)
throws java.lang.Exception
- Throws:
java.lang.Exception
getEmailAddress
protected java.lang.String getEmailAddress(javax.mail.Address[] addresses)
initInboxFolder
protected void initInboxFolder()
throws java.lang.Exception
- Throws:
java.lang.Exception
initStore
protected void initStore()
throws java.lang.Exception
- Throws:
java.lang.Exception
nostifyListeners
protected void nostifyListeners(java.util.List<com.liferay.portal.kernel.pop.MessageListener> listeners,
javax.mail.Message message)
throws java.lang.Exception
- Throws:
java.lang.Exception
nostifyListeners
protected void nostifyListeners(javax.mail.Message[] messages)
throws java.lang.Exception
- Throws:
java.lang.Exception
pollPopServer
protected void pollPopServer()
throws java.lang.Exception
- Throws:
java.lang.Exception