1 19 package org.netbeans.modules.j2ee.sun.ide.runtime.nodes; 20 21 22 23 import org.netbeans.modules.j2ee.sun.bridge.apis.AppserverMgmtController; 24 import org.netbeans.modules.j2ee.sun.util.NodeTypes; 25 26 28 public class ConnectorConnectionPoolNode extends ResourceLeafNode { 29 30 private static final String NODE_TYPE = NodeTypes.CONNECTOR_CONNECTION_POOL; 31 32 33 public ConnectorConnectionPoolNode(final AppserverMgmtController controller, 34 final String connPoolName) { 35 super(controller, NODE_TYPE, connPoolName); 36 } 37 38 45 protected java.util.Map getSheetProperties() { 46 return getAppserverMgmtController(). 47 getConnectorConnectionPoolProperties(getResourceName(), 48 getPropertiesToIgnore()); 49 } 50 51 62 public javax.management.Attribute setSheetProperty(String attrName, Object value) { 63 return getAppserverMgmtController(). 64 setConnectorConnectionPoolProperty(getResourceName(), attrName, 65 value); 66 } 67 68 71 public void remove() { 72 getAppserverMgmtController(). 73 deleteConnectorConnectionPool(getResourceName()); 74 } 75 } 76 | Popular Tags |