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 ExternalResourceNode extends ResourceLeafNode { 28 29 private static final String NODE_TYPE = NodeTypes.EXTERNAL_RESOURCE; 30 31 32 public ExternalResourceNode(final AppserverMgmtController controller, 33 final String extResName) { 34 super(controller, NODE_TYPE, extResName); 35 } 36 37 38 43 protected java.util.Map getSheetProperties() { 44 return getAppserverMgmtController(). 45 getExternalResourceProperties(getResourceName(), 46 getPropertiesToIgnore()); 47 } 48 49 50 61 public javax.management.Attribute setSheetProperty(String attrName, Object value) { 62 return getAppserverMgmtController(). 63 setExternalResourceProperty(getResourceName(), attrName, value); 64 } 65 66 69 public void remove() { 70 getAppserverMgmtController(). 71 deleteExternalResource(getResourceName()); 72 } 73 } 74 75 | Popular Tags |