| |
|
| java.lang.Object com.mockrunner.mock.connector.cci.MockConnectionFactory
MockConnectionFactory | public class MockConnectionFactory implements ConnectionFactory(Code) | | Mock implementation of ConnectionFactory
|
MockConnectionFactory | public MockConnectionFactory()(Code) | | |
getConnection | public Connection getConnection() throws ResourceException(Code) | | |
getConnection | public Connection getConnection(ConnectionSpec cs) throws ResourceException(Code) | | |
getMetaData | public ResourceAdapterMetaData getMetaData() throws ResourceException(Code) | | |
getRecordFactory | public RecordFactory getRecordFactory() throws ResourceException(Code) | | |
setConnection | public void setConnection(Connection connection)(Code) | | |
setMetaData | public void setMetaData(ResourceAdapterMetaData metaData)(Code) | | Sets the resource adapter meta data. If you do not set an explicit
ResourceAdapterMetaData object, a default
MockResourceAdapterMetaData
will be created.
Parameters: metaData - the ResourceAdapterMetaData |
setRecordFactory | public void setRecordFactory(RecordFactory recordFactory)(Code) | | Sets the record factory. If you do not set an explicit
RecordFactory , a default
MockRecordFactory
will be created.
Parameters: recordFactory - the RecordFactory |
|
|
|