KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > admin > dso > GCStatsNode


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.admin.dso;
5
6 import com.tc.admin.AdminClient;
7 import com.tc.admin.ConnectionContext;
8 import com.tc.admin.common.ComponentNode;
9
10 public class GCStatsNode extends ComponentNode {
11   public GCStatsNode(ConnectionContext cc) {
12     super();
13
14     setLabel(AdminClient.getContext().getMessage("dso.gcstats"));
15     setComponent(new GCStatsPanel(cc));
16   }
17
18   public void tearDown() {
19     ((GCStatsPanel)getComponent()).tearDown();
20     super.tearDown();
21   }
22 }
23
Popular Tags