1 19 24 25 package org.netbeans.modules.j2ee.sun.share.serverresources; 26 27 31 public class JavaMsgServiceResource extends BaseResource implements java.io.Serializable { 32 33 private String jndiName; 34 private String resType; 35 private String isEnabled; 36 private String resAdapter = "jmsra"; private String poolName; 38 39 40 public JavaMsgServiceResource() { 41 } 42 43 public String getJndiName() { 44 return jndiName; 45 } 46 public void setJndiName(String value) { 47 String oldValue = jndiName; 48 this.jndiName = value; 49 initPropertyChangeSupport(); 50 propertySupport.firePropertyChange ("jndiName", oldValue, jndiName); } 52 53 public String getResType() { 54 return resType; 55 } 56 public void setResType(String value) { 57 String oldValue = resType; 58 this.resType = value; 59 initPropertyChangeSupport(); 60 propertySupport.firePropertyChange ("resType", oldValue, resType); } 62 63 public String getIsEnabled() { 64 return isEnabled; 65 } 66 public void setIsEnabled(String value) { 67 String oldValue = isEnabled; 68 this.isEnabled = value; 69 initPropertyChangeSupport(); 70 propertySupport.firePropertyChange ("isEnabled", oldValue, isEnabled); } 72 73 public String getResAdapter() { 74 return resAdapter; 75 } 76 77 public void setResAdapter(String value) { 78 String oldValue = resAdapter; 79 this.resAdapter = value; 80 initPropertyChangeSupport(); 81 propertySupport.firePropertyChange ("resAdapter", oldValue, isEnabled); } 83 84 public String getPoolName() { 85 return poolName; 86 } 87 88 public void setPoolName(String value) { 89 String oldValue = poolName; 90 this.poolName = value; 91 initPropertyChangeSupport(); 92 propertySupport.firePropertyChange ("poolName", oldValue, poolName); } 94 95 } 96 | Popular Tags |