Liferay 6.1.2-ce-ga3

com.liferay.portal.pop
Class MessageListenerWrapper

java.lang.Object
  extended by com.liferay.portal.pop.MessageListenerWrapper
All Implemented Interfaces:
MessageListener

public class MessageListenerWrapper
extends Object
implements MessageListener


Constructor Summary
MessageListenerWrapper(MessageListener listener)
           
 
Method Summary
 boolean accept(String from, String recipient, javax.mail.Message message)
           
 void deliver(String from, String recipient, javax.mail.Message message)
           
 boolean equals(Object obj)
           
 String getId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageListenerWrapper

public MessageListenerWrapper(MessageListener listener)
Method Detail

accept

public boolean accept(String from,
                      String recipient,
                      javax.mail.Message message)
Specified by:
accept in interface MessageListener

deliver

public void deliver(String from,
                    String recipient,
                    javax.mail.Message message)
             throws MessageListenerException
Specified by:
deliver in interface MessageListener
Throws:
MessageListenerException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getId

public String getId()
Specified by:
getId in interface MessageListener

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Liferay 6.1.2-ce-ga3