KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ersatz > resourceadapter > ResourceAdapterMetaDataImpl


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

7 package ersatz.resourceadapter;
8
9 import javax.resource.cci.ResourceAdapterMetaData;
10 /**
11  * @author Bob Kruse
12  *
13  * used to test the J2EE Connector as implemented by JOnAS.
14  *
15  */

16 public class ResourceAdapterMetaDataImpl
17     implements ResourceAdapterMetaData
18
19 {
20     String cName = "ResourceAdapterMetaDataImpl";
21     
22     public ResourceAdapterMetaDataImpl() {
23     }
24     public String getAdapterVersion() {
25         return "1.5";
26     }
27     public String getAdapterVendorName() {
28         return "Bull ObjectWeb";
29     }
30     public String getAdapterName() {
31         return "JOnAS Erstaz Resource Adapter";
32     }
33     public String getAdapterShortDescription() {
34         return "Test JOnAS Application Server compliance to J2EE Java Community Process (JSR112)";
35     }
36     public String getSpecVersion() {
37         return "J2EE Java Community Process (JSR112)";
38     }
39     public String[] getInteractionSpecsSupported() {
40         String[]s = {"JSR016","JSR112"};
41         return s;
42     }
43     public boolean supportsExecuteWithInputAndOutputRecord() {
44         return true;
45     }
46     public boolean supportsExecuteWithInputRecordOnly() {
47         return true;
48     }
49     public boolean supportsLocalTransactionDemarcation() {
50         return false;
51     }
52 }
53
Popular Tags