1 16 17 package org.springframework.jca.cci.core; 18 19 import javax.resource.cci.InteractionSpec ; 20 import javax.resource.cci.Record ; 21 22 import org.springframework.dao.DataAccessException; 23 24 36 public interface CciOperations { 37 38 50 Object execute(ConnectionCallback action) throws DataAccessException; 51 52 65 Object execute(InteractionCallback action) throws DataAccessException; 66 67 75 Record execute(InteractionSpec spec, Record inputRecord) throws DataAccessException; 76 77 85 void execute(InteractionSpec spec, Record inputRecord, Record outputRecord) throws DataAccessException; 86 87 95 Record execute(InteractionSpec spec, RecordCreator inputCreator) throws DataAccessException; 96 97 106 Object execute(InteractionSpec spec, Record inputRecord, RecordExtractor outputExtractor) 107 throws DataAccessException; 108 109 118 Object execute(InteractionSpec spec, RecordCreator inputCreator, RecordExtractor outputExtractor) 119 throws DataAccessException; 120 121 } 122 | Popular Tags |