Java EE 5 SDK

javax.mail.event
Class MailEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.mail.event.MailEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionEvent, FolderEvent, MessageChangedEvent, MessageCountEvent, StoreEvent, TransportEvent

public abstract class MailEvent
extends EventObject

Common base class for mail events, defining the dispatch method.

Author:
Bill Shannon
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MailEvent(Object source)
           
 
Method Summary
abstract  void dispatch(Object listener)
          This method invokes the appropriate method on a listener for this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailEvent

public MailEvent(Object source)
Method Detail

dispatch

public abstract void dispatch(Object listener)
This method invokes the appropriate method on a listener for this event. Subclasses provide the implementation.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.