KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > context > RecallObjectsContext


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

5 package com.tc.objectserver.context;
6
7 import com.tc.async.api.EventContext;
8
9 import java.util.List JavaDoc;
10
11 public class RecallObjectsContext implements EventContext {
12
13   private final boolean all;
14   private final List JavaDoc recalledObjects;
15
16   public RecallObjectsContext(List JavaDoc recalledObjects, boolean all) {
17     this.recalledObjects = recalledObjects;
18     this.all = all;
19   }
20
21   public boolean recallAll() {
22     return all;
23   }
24
25   public List JavaDoc getRecallList() {
26     return recalledObjects;
27   }
28
29 }
30
Popular Tags