|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.jms.connection.SingleConnectionFactory
org.springframework.jms.connection.CachingConnectionFactory
org.mule.transport.jms.CustomCachingConnectionFactory
public class CustomCachingConnectionFactory
| Field Summary |
|---|
| Fields inherited from class org.springframework.jms.connection.SingleConnectionFactory |
|---|
logger |
| Constructor Summary | |
|---|---|
CustomCachingConnectionFactory(javax.jms.ConnectionFactory targetConnectionFactory,
String username,
String password)
|
|
| Method Summary | |
|---|---|
javax.jms.Connection |
createConnection(String username,
String password)
|
protected javax.jms.Connection |
doCreateConnection()
|
String |
getPassword()
|
String |
getUsername()
|
| Methods inherited from class org.springframework.jms.connection.CachingConnectionFactory |
|---|
getCachedSessionProxy, getSession, getSessionCacheSize, isCacheConsumers, isCacheProducers, resetConnection, setCacheConsumers, setCacheProducers, setSessionCacheSize |
| Methods inherited from class org.springframework.jms.connection.SingleConnectionFactory |
|---|
afterPropertiesSet, closeConnection, createConnection, createQueueConnection, createQueueConnection, createSession, createTopicConnection, createTopicConnection, destroy, getClientId, getExceptionListener, getSharedConnectionProxy, getTargetConnectionFactory, initConnection, isReconnectOnException, onException, prepareConnection, setClientId, setExceptionListener, setReconnectOnException, setTargetConnectionFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomCachingConnectionFactory(javax.jms.ConnectionFactory targetConnectionFactory,
String username,
String password)
| Method Detail |
|---|
public javax.jms.Connection createConnection(String username,
String password)
throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactorycreateConnection in class org.springframework.jms.connection.SingleConnectionFactoryjavax.jms.JMSException
protected javax.jms.Connection doCreateConnection()
throws javax.jms.JMSException
doCreateConnection in class org.springframework.jms.connection.SingleConnectionFactoryjavax.jms.JMSExceptionpublic String getUsername()
public String getPassword()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||