01: package com.mockrunner.mock.connector.cci;
02:
03: import javax.resource.ResourceException;
04: import javax.resource.cci.ConnectionMetaData;
05:
06: /**
07: * Mock implementation of <code>ConnectionMetaData</code>.
08: */
09: public class MockConnectionMetaData implements ConnectionMetaData {
10: private String eisProductName = "Mockrunner";
11: private String eisProductVersion = "";
12: private String userName = "";
13:
14: public String getEISProductName() throws ResourceException {
15: return eisProductName;
16: }
17:
18: public String getEISProductVersion() throws ResourceException {
19: return eisProductVersion;
20: }
21:
22: public String getUserName() throws ResourceException {
23: return userName;
24: }
25:
26: public void setEisProductVersion(String eisProductVersion) {
27: this .eisProductVersion = eisProductVersion;
28: }
29:
30: public void setUserName(String userName) {
31: this.userName = userName;
32: }
33: }
|