1 19 20 package org.netbeans.modules.tomcat5.nodes; 21 22 import org.netbeans.modules.j2ee.deployment.plugins.api.RegistryNodeFactory; 23 import org.openide.nodes.Children; 24 import org.openide.nodes.Node; 25 import org.openide.util.Lookup; 26 27 30 31 public class TomcatRegistryNodeFactory implements RegistryNodeFactory { 32 33 34 35 public TomcatRegistryNodeFactory() { 36 } 37 38 43 public Node getManagerNode(Lookup lookup) { 44 TomcatInstanceNode tn = new TomcatInstanceNode (new Children.Map(), lookup); 45 return tn; 46 } 47 48 53 public Node getTargetNode(Lookup lookup) { 54 return new TomcatTargetNode(lookup); 55 56 } 57 } 58 | Popular Tags |