1 23 24 29 30 package com.sun.jdo.api.persistence.support; 31 32 import java.lang.String ; 33 import java.io.PrintWriter ; 34 import java.sql.Connection ; 35 36 41 public interface ConnectionFactory { 42 43 47 Connection getConnection(); 48 49 53 void setDriverName (String driverName); 54 55 59 String getDriverName (); 60 61 65 void setURL (String URL); 66 67 71 String getURL (); 72 73 77 void setUserName (String userName); 78 79 83 String getUserName (); 84 85 89 void setPassword (String password); 90 91 95 void setMinPool (int minPool); 96 97 101 int getMinPool (); 102 103 107 void setMaxPool (int maxPool); 108 109 113 int getMaxPool (); 114 115 122 void setMsInterval (int msInterval); 123 124 129 int getMsInterval (); 130 131 136 void setMsWait (int msWait); 137 138 143 int getMsWait (); 144 145 149 void setLogWriter (PrintWriter logWriter); 150 151 155 PrintWriter getLogWriter (); 156 157 162 void setLoginTimeout (int loginTimeout); 163 164 169 int getLoginTimeout (); 170 171 179 void setTransactionIsolation (int level); 180 181 185 int getTransactionIsolation (); 186 } 187 | Popular Tags |