1 18 package org.objectweb.perseus.persistence.api; 19 20 27 public interface ConnectionHolder { 28 29 33 Object getCHConnectionForRead() throws PersistenceException; 34 35 39 Object getCHConnectionForWrite() throws PersistenceException; 40 41 45 void begin() throws PersistenceException; 46 47 51 void commitCH() throws PersistenceException; 52 53 void rollbackCH() throws PersistenceException; 54 55 void releaseCHConnection() throws PersistenceException; 56 57 void closeCHConnection() throws PersistenceException; 58 59 void bindWorkingSet(WorkingSet ws); 60 61 WorkingSet getWorkingSet(); 62 } 63 | Popular Tags |