1 28 29 30 package com.caucho.management.j2ee; 31 32 38 public class Notification 39 extends javax.management.Notification 40 { 41 private static Object getObjectName(J2EEManagedObject source) 42 { 43 return source.getObjectName(); 47 } 48 49 public Notification(String type, J2EEManagedObject source, long sequenceNumber) 50 { 51 super(type, getObjectName(source), sequenceNumber); 52 } 53 54 public Notification(String type, 55 J2EEManagedObject source, 56 long sequenceNumber, 57 String message) 58 { 59 super(type, getObjectName(source), sequenceNumber, message); 60 } 61 62 public Notification(String type, 63 J2EEManagedObject source, 64 long sequenceNumber, 65 long timeStamp) 66 { 67 super(type, getObjectName(source), sequenceNumber, timeStamp); 68 } 69 70 public Notification(String type, 71 J2EEManagedObject source, 72 long sequenceNumber, 73 long timeStamp, String message) 74 { 75 super(type, getObjectName(source), sequenceNumber, timeStamp, message); 76 } 77 } 78 | Popular Tags |