KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > api > NullObjectInstanceMonitor


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.objectserver.api;
5
6 import java.util.Collections JavaDoc;
7 import java.util.Map JavaDoc;
8
9 public class NullObjectInstanceMonitor implements ObjectInstanceMonitor {
10
11   public NullObjectInstanceMonitor() {
12     //
13
}
14
15   public void instanceCreated(String JavaDoc type) {
16     //
17
}
18
19   public void instanceDestroyed(String JavaDoc type) {
20     //
21
}
22
23   public Map JavaDoc getInstanceCounts() {
24     return Collections.EMPTY_MAP;
25   }
26
27 }
28
Popular Tags