Class MailEvent

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

public abstract class MailEvent
extends java.util.EventObject

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

Bill Shannon
See Also:
Serialized Form

Field Summary
Fields inherited from class java.util.EventObject
Constructor Summary
MailEvent(java.lang.Object source)
Method Summary
abstract  void dispatch(java.lang.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


public MailEvent(java.lang.Object source)
Method Detail


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

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.