1
2
3
4
5
6
7 package org.mule.util.timer;
8
9 import java.util.EventObject;
10
11
12
13
14
15 public class TimeEvent extends EventObject
16 {
17
18
19
20 private static final long serialVersionUID = -7540426406525372393L;
21
22
23
24
25 private String name;
26
27 private long timeExpired;
28
29 public TimeEvent(Object source, String name, long timeExpired)
30 {
31 super(source);
32 this.name = name;
33 this.timeExpired = timeExpired;
34 }
35
36 public String getName()
37 {
38 return name;
39 }
40
41 public long getTimeExpired()
42 {
43 return timeExpired;
44 }
45 }