1 19 package org.netbeans.modules.j2ee.sun.ide.runtime.nodes; 20 21 22 import org.netbeans.modules.j2ee.sun.bridge.apis.AppserverMgmtController; 23 import org.netbeans.modules.j2ee.sun.util.NodeTypes; 24 25 27 public class ConnectorResourceNode extends ResourceLeafNode { 28 29 private static final String NODE_TYPE = NodeTypes.CONNECTOR_RESOURCE; 30 31 32 public ConnectorResourceNode(final AppserverMgmtController controller, 33 final String connResourceName) { 34 super(controller, NODE_TYPE, connResourceName); 35 } 36 37 42 protected java.util.Map getSheetProperties() { 43 return getAppserverMgmtController(). 44 getConnectorResourceProperties(getResourceName(), 45 getPropertiesToIgnore()); 46 } 47 48 49 60 public javax.management.Attribute setSheetProperty(String attrName, Object value) { 61 return getAppserverMgmtController(). 62 setConnectorResourceProperty(getResourceName(), attrName, value); 63 } 64 65 68 public void remove() { 69 getAppserverMgmtController(). 70 deleteConnectorResource(getResourceName()); 71 } 72 } 73 | Popular Tags |