com.mockrunner.mock.connector.spi
Class MockManagedConnectionMetaData

java.lang.Object
  extended by com.mockrunner.mock.connector.spi.MockManagedConnectionMetaData
All Implemented Interfaces:
javax.resource.spi.ManagedConnectionMetaData

public class MockManagedConnectionMetaData
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionMetaData

Mock implementation of ManagedConnectionMetaData.


Constructor Summary
MockManagedConnectionMetaData()
           
 
Method Summary
 java.lang.String getEISProductName()
           
 java.lang.String getEISProductVersion()
           
 int getMaxConnections()
           
 java.lang.String getUserName()
           
 void setEisProductName(java.lang.String eisProductName)
           
 void setEisProductVersion(java.lang.String eisProductVersion)
           
 void setMaxConnections(int maxConnections)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockManagedConnectionMetaData

public MockManagedConnectionMetaData()
Method Detail

getEISProductName

public java.lang.String getEISProductName()
                                   throws javax.resource.ResourceException
Specified by:
getEISProductName in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException

getEISProductVersion

public java.lang.String getEISProductVersion()
                                      throws javax.resource.ResourceException
Specified by:
getEISProductVersion in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException

getMaxConnections

public int getMaxConnections()
                      throws javax.resource.ResourceException
Specified by:
getMaxConnections in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException

getUserName

public java.lang.String getUserName()
                             throws javax.resource.ResourceException
Specified by:
getUserName in interface javax.resource.spi.ManagedConnectionMetaData
Throws:
javax.resource.ResourceException

setEisProductName

public void setEisProductName(java.lang.String eisProductName)

setEisProductVersion

public void setEisProductVersion(java.lang.String eisProductVersion)

setMaxConnections

public void setMaxConnections(int maxConnections)

setUserName

public void setUserName(java.lang.String userName)