01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.admin.common;
05:
06: import org.dijon.Component;
07:
08: public class PollerNode extends ComponentNode {
09: public PollerNode(String label, Component poller) {
10: super (label, poller);
11: }
12:
13: public void tearDown() {
14: Poller poller = (Poller) getComponent();
15:
16: if (poller != null) {
17: poller.stop();
18: }
19:
20: super.tearDown();
21: }
22: }
|