01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.admin.dso;
06:
07: import com.tc.admin.AdminClient;
08: import com.tc.admin.ConnectionContext;
09: import com.tc.admin.common.ComponentNode;
10:
11: import java.io.IOException;
12:
13: import javax.management.AttributeNotFoundException;
14: import javax.management.InstanceNotFoundException;
15: import javax.management.MBeanException;
16: import javax.management.MalformedObjectNameException;
17: import javax.management.ReflectionException;
18:
19: public class GCStatsNode extends ComponentNode {
20: public GCStatsNode(ConnectionContext cc) throws IOException,
21: MBeanException, MalformedObjectNameException,
22: AttributeNotFoundException, ReflectionException,
23: InstanceNotFoundException {
24: super ();
25:
26: setLabel(AdminClient.getContext().getMessage("dso.gcstats"));
27: setComponent(new GCStatsPanel(cc));
28: }
29:
30: public void tearDown() {
31: ((GCStatsPanel) getComponent()).tearDown();
32: super.tearDown();
33: }
34: }
|