01: /*
02: * Created on December 12, 2003
03: *
04: * ResourceAdapterMetaDataImpl.java is used to test the J2EE Connector
05: * as implemented by JOnAS.
06: */
07: package ersatz.resourceadapter;
08:
09: import javax.resource.cci.ResourceAdapterMetaData;
10:
11: /**
12: * @author Bob Kruse
13: *
14: * used to test the J2EE Connector as implemented by JOnAS.
15: *
16: */
17: public class ResourceAdapterMetaDataImpl implements
18: ResourceAdapterMetaData
19:
20: {
21: String cName = "ResourceAdapterMetaDataImpl";
22:
23: public ResourceAdapterMetaDataImpl() {
24: }
25:
26: public String getAdapterVersion() {
27: return "1.5";
28: }
29:
30: public String getAdapterVendorName() {
31: return "Bull ObjectWeb";
32: }
33:
34: public String getAdapterName() {
35: return "JOnAS Erstaz Resource Adapter";
36: }
37:
38: public String getAdapterShortDescription() {
39: return "Test JOnAS Application Server compliance to J2EE Java Community Process (JSR112)";
40: }
41:
42: public String getSpecVersion() {
43: return "J2EE Java Community Process (JSR112)";
44: }
45:
46: public String[] getInteractionSpecsSupported() {
47: String[] s = { "JSR016", "JSR112" };
48: return s;
49: }
50:
51: public boolean supportsExecuteWithInputAndOutputRecord() {
52: return true;
53: }
54:
55: public boolean supportsExecuteWithInputRecordOnly() {
56: return true;
57: }
58:
59: public boolean supportsLocalTransactionDemarcation() {
60: return false;
61: }
62: }
|