1 23 24 package javax.resource.cci; 25 26 import javax.resource.ResourceException ; 27 import javax.resource.NotSupportedException ; 28 29 30 54 55 public interface Interaction { 56 57 68 public 69 void close() throws ResourceException ; 70 71 72 76 public 77 Connection getConnection(); 78 79 107 public 108 boolean execute(InteractionSpec ispec, 109 Record input, 110 Record output) throws ResourceException ; 111 112 139 public 140 Record execute(InteractionSpec ispec, 141 Record input) throws ResourceException ; 142 143 150 public 151 ResourceWarning getWarnings() throws ResourceException ; 152 153 160 public 161 void clearWarnings() throws ResourceException ; 162 163 } 164 | Popular Tags |