com.liferay.portal.pop.messaging
Class POPNotificationsMessageListener
java.lang.Object
com.liferay.portal.kernel.messaging.BaseMessageListener
com.liferay.portal.pop.messaging.POPNotificationsMessageListener
- All Implemented Interfaces:
- com.liferay.portal.kernel.messaging.MessageListener
public class POPNotificationsMessageListener
- extends com.liferay.portal.kernel.messaging.BaseMessageListener
- Author:
- Brian Wing Shun Chan
| Methods inherited from class com.liferay.portal.kernel.messaging.BaseMessageListener |
receive |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POPNotificationsMessageListener
public POPNotificationsMessageListener()
doReceive
protected void doReceive(com.liferay.portal.kernel.messaging.Message message)
throws java.lang.Exception
- Specified by:
doReceive in class com.liferay.portal.kernel.messaging.BaseMessageListener
- 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