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 ConnectionFactoryNode extends ResourceLeafNode { 29 30 private static final String NODE_TYPE = NodeTypes.CONNECTION_FACTORY; 31 32 33 36 public ConnectionFactoryNode(final AppserverMgmtController controller, 37 final String factoryName) { 38 super(controller, NODE_TYPE, factoryName); 39 } 40 41 42 47 protected java.util.Map getSheetProperties() { 48 return getAppserverMgmtController(). 49 getJMSConnectionFactoryProperties(getResourceName(), 50 getPropertiesToIgnore()); 51 } 52 53 54 65 public javax.management.Attribute setSheetProperty(String attrName, Object value) { 66 return getAppserverMgmtController(). 67 setJMSConnectionFactoryProperty(getResourceName(), attrName, value); 68 } 69 70 73 public void remove() { 74 getAppserverMgmtController(). 75 deleteJMSConnectionFactory(getResourceName()); 76 } 77 } 78 | Popular Tags |