com.github.smokestack.jca.spi
Class MockConnectionManager

java.lang.Object
  extended by com.github.smokestack.jca.spi.MockConnectionManager
All Implemented Interfaces:
Serializable, ConnectionManager

public class MockConnectionManager
extends Object
implements ConnectionManager

Author:
gliptak
See Also:
Serialized Form

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

Constructor Detail

MockConnectionManager

public MockConnectionManager()
Method Detail

allocateConnection

public Object allocateConnection(ManagedConnectionFactory managedConnectionFactory,
                                 ConnectionRequestInfo connectionRequestInfo)
                          throws ResourceException
Specified by:
allocateConnection in interface ConnectionManager
Throws:
ResourceException

_allocateConnection

public Object _allocateConnection(ManagedConnectionFactory managedConnectionFactory,
                                  ConnectionRequestInfo connectionRequestInfo)
                           throws ResourceException
Throws:
ResourceException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 Smokestack. All Rights Reserved.