1 57 58 package com.myeis.j2c; 59 60 import javax.resource.*; 61 import javax.resource.cci.*; 62 63 public class MyEISInteraction implements Interaction { 64 65 private MyEISConnection fieldConnection = null; 66 67 70 public MyEISInteraction(Connection connection) { 71 72 this.fieldConnection = (MyEISConnection)connection; 73 } 74 75 78 public void close() throws ResourceException { 79 } 80 81 84 public Connection getConnection() { 85 return null; 86 } 87 88 91 public boolean execute(InteractionSpec interactionSpec, Record inputRecord, Record outputRecord) 92 throws ResourceException { 93 94 return this.fieldConnection.call(interactionSpec, inputRecord, outputRecord); 95 } 96 97 100 public Record execute(InteractionSpec arg0, Record arg1) 101 throws ResourceException { 102 return null; 103 } 104 105 108 public ResourceWarning getWarnings() throws ResourceException { 109 return null; 110 } 111 112 115 public void clearWarnings() throws ResourceException { 116 } 117 118 } 119 120 | Popular Tags |