1 23 24 package org.dbforms.conprovider; 25 26 import java.util.Properties ; 27 28 import javax.servlet.ServletContext ; 29 30 31 32 37 public class ConnectionProviderPrefs { 38 39 private Properties poolProperties; 40 41 42 private Properties properties; 43 private ServletContext servletContext; 44 45 46 private String connectionPoolURL; 47 48 49 private String connectionProviderClass; 50 51 52 private String jdbcDriver; 53 54 55 private String jdbcURL; 56 57 58 private String password; 59 60 61 private String user; 62 63 69 public void setConnectionPoolURL(String connectionPoolURL) { 70 this.connectionPoolURL = connectionPoolURL; 71 } 72 73 74 80 public String getConnectionPoolURL() { 81 return connectionPoolURL; 82 } 83 84 85 91 public void setConnectionProviderClass(String connectionProviderClass) { 92 this.connectionProviderClass = connectionProviderClass; 93 } 94 95 96 102 public String getConnectionProviderClass() { 103 return connectionProviderClass; 104 } 105 106 107 112 public void setJdbcDriver(String jdbcDriver) { 113 this.jdbcDriver = jdbcDriver; 114 } 115 116 117 122 public String getJdbcDriver() { 123 return jdbcDriver; 124 } 125 126 127 132 public void setJdbcURL(String jdbcURL) { 133 this.jdbcURL = jdbcURL; 134 } 135 136 137 142 public String getJdbcURL() { 143 return jdbcURL; 144 } 145 146 147 152 public void setPassword(String password) { 153 this.password = password; 154 } 155 156 157 162 public String getPassword() { 163 return password; 164 } 165 166 167 172 public void setPoolProperties(Properties poolProperties) { 173 this.poolProperties = poolProperties; 174 } 175 176 177 182 public Properties getPoolProperties() { 183 return poolProperties; 184 } 185 186 187 192 public void setProperties(Properties properties) { 193 this.properties = properties; 194 } 195 196 197 202 public Properties getProperties() { 203 return properties; 204 } 205 206 207 212 public void setServletContext(ServletContext context) { 213 servletContext = context; 214 } 215 216 217 222 public ServletContext getServletContext() { 223 return servletContext; 224 } 225 226 227 232 public void setUser(String user) { 233 this.user = user; 234 } 235 236 237 242 public String getUser() { 243 return user; 244 } 245 } 246 | Popular Tags |