KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > appevent > NonPortableObjectEvent


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.appevent;
5
6 import com.tc.util.NonPortableReason;
7
8 import java.io.Serializable JavaDoc;
9
10 public class NonPortableObjectEvent implements Serializable JavaDoc {
11
12   private static final long serialVersionUID = 1323477247234324L;
13
14   private final NonPortableEventContext context;
15   private final NonPortableReason reason;
16
17   public NonPortableObjectEvent(NonPortableEventContext context, NonPortableReason reason) {
18     this.context = context;
19     this.reason = reason;
20   }
21
22   public NonPortableEventContext getContext() {
23     return context;
24   }
25
26   public NonPortableReason getReason() {
27     return reason;
28   }
29
30 }
31
Popular Tags