Liferay 6.2-ce-ga5

com.liferay.portal.pop.messaging
Class POPNotificationsMessageListener

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.BaseMessageListener
      extended by com.liferay.portal.pop.messaging.POPNotificationsMessageListener
All Implemented Interfaces:
MessageListener

public class POPNotificationsMessageListener
extends BaseMessageListener


Constructor Summary
POPNotificationsMessageListener()
           
 
Method Summary
protected  void doReceive(Message message)
           
protected  String getEmailAddress(javax.mail.Address[] addresses)
           
protected  javax.mail.Folder getInboxFolder(javax.mail.Store store)
           
protected  javax.mail.Store getStore()
           
protected  void notifyMessageListeners(javax.mail.Message[] messages)
           
 
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
 

Constructor Detail

POPNotificationsMessageListener

public POPNotificationsMessageListener()
Method Detail

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

Liferay 6.2-ce-ga5