001 package com.mockrunner.mock.connector.spi; 002 003 import javax.resource.ResourceException; 004 import javax.resource.spi.ConnectionManager; 005 import javax.resource.spi.ConnectionRequestInfo; 006 import javax.resource.spi.ManagedConnectionFactory; 007 008 /** 009 * Mock implementation of <code>ConnectionManager</code>. 010 */ 011 public class MockConnectionManager implements ConnectionManager 012 { 013 private static final long serialVersionUID = 3257571719568175408L; 014 015 public Object allocateConnection(ManagedConnectionFactory managedConnectionFactory, ConnectionRequestInfo connectionRequestInfo) throws ResourceException 016 { 017 return null; 018 } 019 }