Name
StoreEvent
Synopsis
The StoreEvent
class models notifications from a message
store. Notifications consist of ALERTs and NOTICEs. ALERT notifications are
likely critical notifications.
public class StoreEvent extends MailEvent { // Public Constructors public StoreEvent( Store store, int type, String message); // Public Constants public static final int ALERT; // =1 public static final int NOTICE; // =2 // Public Instance Methods public String getMessage(); public int getMessageType(); // Public Methods Overriding MailEvent public void dispatch( Object listener); // Protected Instance Fields protected String message; protected int type; }
Passed To
StoreListener.notification()
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.