01: package com.mockrunner.mock.connector.spi;
02:
03: import javax.resource.ResourceException;
04: import javax.resource.spi.ConnectionManager;
05: import javax.resource.spi.ConnectionRequestInfo;
06: import javax.resource.spi.ManagedConnectionFactory;
07:
08: /**
09: * Mock implementation of <code>ConnectionManager</code>.
10: */
11: public class MockConnectionManager implements ConnectionManager {
12: private static final long serialVersionUID = 3257571719568175408L;
13:
14: public Object allocateConnection(
15: ManagedConnectionFactory managedConnectionFactory,
16: ConnectionRequestInfo connectionRequestInfo)
17: throws ResourceException {
18: return null;
19: }
20: }
|