|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(ConnectionFactory targetConnectionFactory,
String username,
String password)
|
Method Summary | |
---|---|
Connection |
createConnection(String username,
String password)
|
protected 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(ConnectionFactory targetConnectionFactory, String username, String password)
Method Detail |
---|
public Connection createConnection(String username, String password) throws JMSException
createConnection
in interface ConnectionFactory
createConnection
in class org.springframework.jms.connection.SingleConnectionFactory
JMSException
protected Connection doCreateConnection() throws JMSException
doCreateConnection
in class org.springframework.jms.connection.SingleConnectionFactory
JMSException
public String getUsername()
public String getPassword()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |