|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.smokestack.jms.MockConnectionFactory
public class MockConnectionFactory
| Field Summary | |
|---|---|
protected List<MockConnection> |
mockConnections
|
protected Reference |
reference
|
| Constructor Summary | |
|---|---|
MockConnectionFactory()
Constructor |
|
| Method Summary | |
|---|---|
Connection |
_createConnection()
|
Connection |
_createConnection(String userName,
String password)
|
void |
assertMockCommit()
Validation |
void |
assertMockComplete()
Validation |
void |
assertMockRollback()
Validation |
Connection |
createConnection()
|
Connection |
createConnection(String userName,
String password)
|
List<MockConnection> |
getMockConnections()
|
Reference |
getReference()
|
void |
setReference(Reference reference)
Making a setter available |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<MockConnection> mockConnections
protected Reference reference
| Constructor Detail |
|---|
public MockConnectionFactory()
| Method Detail |
|---|
public Connection createConnection()
throws JMSException
createConnection in interface ConnectionFactoryJMSException
public Connection _createConnection()
throws JMSException
JMSException
public Connection createConnection(String userName,
String password)
throws JMSException
createConnection in interface ConnectionFactoryJMSException
public Connection _createConnection(String userName,
String password)
throws JMSException
JMSExceptionpublic void assertMockComplete()
public void assertMockCommit()
public void assertMockRollback()
public List<MockConnection> getMockConnections()
public Reference getReference()
throws NamingException
getReference in interface ReferenceableNamingExceptionpublic void setReference(Reference reference)
reference - public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||