org.apache.cxf.transport.jms.util
Class UserCredentialsConnectionFactoryAdapter
java.lang.Object
org.apache.cxf.transport.jms.util.UserCredentialsConnectionFactoryAdapter
- All Implemented Interfaces:
- javax.jms.ConnectionFactory
public class UserCredentialsConnectionFactoryAdapter
- extends Object
- implements javax.jms.ConnectionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserCredentialsConnectionFactoryAdapter
public UserCredentialsConnectionFactoryAdapter()
setUsername
public void setUsername(String userName2)
setPassword
public void setPassword(String password2)
setTargetConnectionFactory
public void setTargetConnectionFactory(javax.jms.ConnectionFactory cf)
createConnection
public javax.jms.Connection createConnection()
throws javax.jms.JMSException
- Specified by:
createConnection
in interface javax.jms.ConnectionFactory
- Throws:
javax.jms.JMSException
createConnection
public javax.jms.Connection createConnection(String userName2,
String password2)
throws javax.jms.JMSException
- Specified by:
createConnection
in interface javax.jms.ConnectionFactory
- Throws:
javax.jms.JMSException
Apache CXF