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:
- MessageListener
public class POPNotificationsMessageListener
- extends BaseMessageListener
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(Message message)
throws javax.mail.MessagingException
- Specified by:
doReceive
in class BaseMessageListener
- Throws:
javax.mail.MessagingException
getEmailAddress
protected String getEmailAddress(javax.mail.Address[] addresses)
getInboxFolder
protected javax.mail.Folder getInboxFolder(javax.mail.Store store)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getStore
protected javax.mail.Store getStore()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
notifyMessageListeners
protected void notifyMessageListeners(javax.mail.Message[] messages)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException