1 package net.sf.panoptes.model.node.jmx;
2
3 import net.sf.panoptes.model.node.*;
4 import net.sf.panoptes.model.node.INode;
5
6 /***
7 * DomainNode.java
8 *
9 * Node representing a JMX domain.
10 *
11 * @author Dag Liodden
12 * @version 0.1
13 */
14 public class DomainNode extends ComponentGroupNode {
15
16 /***
17 * The domain name
18 */
19 private String name;
20
21 /***
22 * Constructor for DomainNode.
23 */
24 public DomainNode(String name) {
25 super(name, "Domain " + name);
26 this.name = name;
27 }
28
29 public String getName() {
30 return name;
31 }
32
33 /***
34 * @see com.gllt.troodon.console.INode#getIconName()
35 */
36 public String getIconName() {
37 return INode.ICON_DOMAIN;
38 }
39
40 /* (non-Javadoc)
41 * @see net.sf.panoptes.view.configurator.INode#acceptsChildren()
42 */
43 public boolean acceptsChildren() {
44 return false;
45 }
46 }
This page was automatically generated by Maven