1 22 23 package org.jboss.resource.deployment.ds.metadata; 24 25 import java.util.HashSet ; 26 import java.util.Set ; 27 28 35 public abstract class AbstractConnectionFactoryMetaData implements DsElementMetaData 36 { 37 38 39 private String jndiName; 40 41 42 private boolean useJavaConext = true; 43 44 45 private String connectionDefintion; 46 47 48 private String rarName; 49 50 51 private TransactionSupportMetaData txnSupport; 52 53 54 protected ConnectionPoolMetaData poolMetaData; 55 56 57 protected Set connectionProperties = new HashSet (); 58 59 64 public String getJndiName() 65 { 66 return jndiName; 67 } 68 69 74 public void setJndiName(String jndiName) 75 { 76 this.jndiName = jndiName; 77 } 78 79 84 public boolean isUseJavaConext() 85 { 86 return useJavaConext; 87 } 88 89 94 public void setUseJavaConext(boolean useJavaConext) 95 { 96 this.useJavaConext = useJavaConext; 97 } 98 99 104 public TransactionSupportMetaData getTxnSupport() 105 { 106 return txnSupport; 107 } 108 109 114 public void setTxnSupport(TransactionSupportMetaData txnSupport) 115 { 116 this.txnSupport = txnSupport; 117 } 118 119 124 public ConnectionPoolMetaData getPoolMetaData() 125 { 126 return poolMetaData; 127 } 128 129 134 public void setPoolMetaData(ConnectionPoolMetaData poolMetaData) 135 { 136 this.poolMetaData = poolMetaData; 137 } 138 139 public String getConnectionDefintion() 140 { 141 return connectionDefintion; 142 } 143 144 public void setConnectionDefintion(String connectionDefintion) 145 { 146 this.connectionDefintion = connectionDefintion; 147 } 148 149 public void addProperty(DsPropertyMetaData pmd) 150 { 151 connectionProperties.add(pmd); 152 153 } 154 155 public String getRarName() 156 { 157 return rarName; 158 } 159 160 public void setRarName(String rarName) 161 { 162 this.rarName = rarName; 163 } 164 165 } 166 | Popular Tags |