Name

MailEvent

Synopsis

The MailEvent class provides a basis for all mail-related events. This class defines the dispatch() method, which calls the appropriate listener objects.

                  Passed To
public abstract class MailEvent extends java.util.EventObject {
// Public Constructors
   public MailEvent( Object source);  
// Public Instance Methods
   public abstract void dispatch( Object listener);  
}

Subclasses

javax.mail.event.ConnectionEvent, FolderEvent, MessageChangedEvent, MessageCountEvent, StoreEvent, TransportEvent

Passed To

Service.queueEvent()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.