Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
mockobjects
mockobjects-MockQueueConnectionFactory.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mockobjects-MockQueueConnectionFactory.patch of Package mockobjects
--- src/j2ee/common/com/mockobjects/jms/MockQueueConnectionFactory.java.sav 2003-03-18 15:28:44.000000000 +0100 +++ src/j2ee/common/com/mockobjects/jms/MockQueueConnectionFactory.java 2006-05-05 18:45:59.000000000 +0200 @@ -47,4 +47,16 @@ throw myException; } } -} \ No newline at end of file + + public Connection createConnection(String userName,String password) throws JMSException { + throwExceptionIfAny(); + myUserName.setActual(userName); + myPassword.setActual(password); + return (Connection) myQueueConnection.getValue(); + } + + public Connection createConnection() throws JMSException { + throwExceptionIfAny(); + return (Connection) myQueueConnection.getValue(); + } +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor