1 23 24 29 30 package com.sun.jdo.api.persistence.support; 31 32 import java.io.PrintWriter ; 33 import java.util.Properties ; 34 35 40 41 public interface PersistenceManagerFactory extends java.io.Serializable 42 { 43 47 void setConnectionDriverName (String driverName); 48 49 53 String getConnectionDriverName (); 54 55 59 void setConnectionUserName (String userName); 60 61 65 String getConnectionUserName (); 66 67 71 void setConnectionPassword (String password); 72 73 77 void setConnectionMaxPool (int MaxPool); 78 79 83 int getConnectionMaxPool (); 84 85 89 void setConnectionMinPool (int MinPool); 90 91 95 int getConnectionMinPool (); 96 97 98 102 void setMaxPool (int MaxPool); 103 104 108 int getMaxPool (); 109 110 114 void setMinPool (int MinPool); 115 116 120 int getMinPool (); 121 122 127 void setConnectionMsWait (int MsWait); 128 129 134 int getConnectionMsWait (); 135 136 143 void setConnectionMsInterval (int MsInterval); 144 145 150 int getConnectionMsInterval (); 151 152 157 void setConnectionLoginTimeout (int LoginTimeout); 158 159 164 int getConnectionLoginTimeout (); 165 166 170 void setConnectionURL (String URL); 171 172 176 String getConnectionURL (); 177 178 183 void setConnectionFactory (Object cf); 184 185 190 Object getConnectionFactory (); 191 192 196 void setConnectionLogWriter(PrintWriter pw); 197 198 202 PrintWriter getConnectionLogWriter (); 203 204 212 void setConnectionTransactionIsolation (int level); 213 214 218 int getConnectionTransactionIsolation (); 219 220 224 void setConnectionFactoryName (String connectionFactoryName); 225 226 230 String getConnectionFactoryName (); 231 232 239 void setIdentifier(String identifier); 240 241 248 String getIdentifier(); 249 250 251 255 PersistenceManager getPersistenceManager (); 256 257 264 PersistenceManager getPersistenceManager (String username, String password); 265 266 270 void setOptimistic (boolean flag); 271 272 276 boolean getOptimistic (); 277 278 282 void setRetainValues (boolean flag); 283 284 289 boolean getRetainValues (); 290 291 295 void setNontransactionalRead (boolean flag); 296 297 302 boolean getNontransactionalRead (); 303 304 309 void setIgnoreCache (boolean flag); 310 311 316 boolean getIgnoreCache (); 317 318 323 void setQueryTimeout (int timeout); 324 325 330 int getQueryTimeout (); 331 332 337 void setUpdateTimeout (int timeout); 338 339 344 int getUpdateTimeout(); 345 346 347 351 Properties getProperties (); 352 353 360 boolean getSupersedeDeletedInstance (); 361 362 363 367 void setSupersedeDeletedInstance (boolean flag); 368 369 379 boolean getRequireCopyObjectId(); 380 381 382 392 void setRequireCopyObjectId (boolean flag); 393 394 403 boolean getRequireTrackedSCO(); 404 405 413 void setRequireTrackedSCO (boolean flag); 414 415 } 416 417 | Popular Tags |