KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ersatz > resourceadapter > InteractionSpecImpl


1 /*
2  * Created on December 10, 2003
3  *
4  * JtestInteraction.java is used to test the J2EE Connector
5  * as implemented by JOnAS.
6  *
7  */

8 package ersatz.resourceadapter;
9
10 import javax.resource.cci.InteractionSpec;
11 import javax.resource.cci.Record;
12 import javax.resource.cci.ResultSet;
13
14 /**
15  * @author Bob Kruse
16  *
17  * Jtest Resource Adapter
18  *
19  * used to test the J2EE Connector as implemented by JOnAS. This is an empty
20  * class used to avoid an error of missing "implements InteractionSpec".
21  *
22  */

23 public class InteractionSpecImpl
24         implements InteractionSpec, java.io.Serializable
25 {
26
27     private boolean closed = false;
28     private ConnectionImpl con;
29     private ManagedConnectionImpl mcon;
30     String cName = "InteractionSpecImpl";
31     
32     /****************************
33      * InteractionSpec methods
34      ****************************/

35     public InteractionSpecImpl() {
36         Utility.log(cName+".constructor");
37     }
38 }
39
Popular Tags