com.liferay.portal.pop.messaging
Class POPNotificationsMessageListener
java.lang.Object
com.liferay.portal.pop.messaging.POPNotificationsMessageListener
- All Implemented Interfaces:
- MessageListener
public class POPNotificationsMessageListener
- extends Object
- implements MessageListener
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(Message message)
- Specified by:
receive
in interface MessageListener
doReceive
protected void doReceive(Message message)
throws Exception
- Throws:
Exception
getEmailAddress
protected String getEmailAddress(javax.mail.Address[] addresses)
initInboxFolder
protected void initInboxFolder()
throws Exception
- Throws:
Exception
initStore
protected void initStore()
throws Exception
- Throws:
Exception
nostifyListeners
protected void nostifyListeners(List<MessageListener> listeners,
javax.mail.Message message)
throws Exception
- Throws:
Exception
nostifyListeners
protected void nostifyListeners(javax.mail.Message[] messages)
throws Exception
- Throws:
Exception
pollPopServer
protected void pollPopServer()
throws Exception
- Throws:
Exception