FileDocCategorySizeDatePackage
NotificationWrapper.javaAPI DocGlassfish v2 API3062Fri May 04 22:36:24 BST 2007com.sun.enterprise.admin.jmx.remote.notification

NotificationWrapper

public class NotificationWrapper extends Object implements Serializable
Class to wrap the notification being sent to the client. This wrapper is used to carry extra information, such as WAIT notification or an actual notification (type=NOTIF)

Fields Summary
public static final int
WAIT
public static final int
NOTIF
private Notification
notif
private ObjectName
source
private int
type
Constructors Summary
public NotificationWrapper(int type, ObjectName source, Notification notif)


           
        this.notif = notif;
        this.source = source;
        this.type = type;
    
public NotificationWrapper(ObjectName source, Notification notif)

        this.notif = notif;
        this.source = source;
        this.type = NOTIF;
    
Methods Summary
public javax.management.NotificationgetNotification()

        return notif;
    
public javax.management.ObjectNamegetSource()

        return source;
    
public intgetType()

        return type;