1 9 package org.jboss.portal.setup.config; 10 11 import org.jboss.portal.setup.DatabaseVendorType; 12 import org.jboss.portal.setup.PortalSetupException; 13 14 20 public interface DbAccessConfig extends Configuration 21 { 22 23 26 String getDriverClassName(); 27 28 31 String getConnUrl(); 32 33 36 void setDriverClassName(String driverClassName); 37 38 41 void setConnUrl(String connUrl); 42 43 46 String getUserName(); 47 48 51 public void setUserName(String userName); 52 53 56 String getPassword(); 57 58 61 public void setPassword(String password); 62 63 66 String getDataSourceName(); 67 68 71 void setDataSourceName(String dsName); 72 73 74 77 public void setDbVendorName(String vendorName) throws PortalSetupException; 78 79 80 84 public String getDbVendorName(); 85 86 91 public DatabaseVendorType getDbVendorType() throws PortalSetupException; 92 93 98 public void setDbVendor(String vendor) throws PortalSetupException; 99 100 101 } 102 | Popular Tags |