.websphere6.ui.nodes;20 21 import org.openide.nodes.AbstractNode;22 import org.openide.nodes.Children;23 import org.openide.util.Lookup;24 25 /**26 * A node that represents a concrete target for a particuler server instance.27 * As it gets filtered and does not appear in the registry we do not implement28 * anything special.29 *30 * @author Kirill Sorokin31 */32 public class WSTargetNode extends AbstractNode {33 34 /**35 * Creates a new instance of the WSTargetNode.36 *37 * @param lookup a lookup object that contains the objects required for 38 * node's customization, such as the deployment manager39 */40 public WSTargetNode(Lookup lookup) {41 super(new Children.Array());42 }43 44 /**45 * A fake implementation of the Object's hashCode() method, in order to 46 * avoid FindBugsTool's warnings47 */48 public int hashCode() {49 return super.hashCode();50 }51 52 /**53 * A fake implementation of the Object's hashCode() method, in order to 54 * avoid FindBugsTool's warnings55 */56 public boolean equals(Object obj) {57 return super.equals(obj);58 }59 }60
Java API By Example, From Geeks To Geeks. | Our Blog | Conditions of Use | About Us_ |