com.mockrunner.mock.connector.spi
Class MockConnectionManager

java.lang.Object
  extended by com.mockrunner.mock.connector.spi.MockConnectionManager
All Implemented Interfaces:
java.io.Serializable, javax.resource.spi.ConnectionManager

public class MockConnectionManager
extends java.lang.Object
implements javax.resource.spi.ConnectionManager

Mock implementation of ConnectionManager.

See Also:
Serialized Form

Constructor Summary
MockConnectionManager()
           
 
Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockConnectionManager

public MockConnectionManager()
Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory,
                                           javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                    throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException