Apache CXF API

org.apache.cxf.transport.jms.util
Class UserCredentialsConnectionFactoryAdapter

java.lang.Object
  extended by org.apache.cxf.transport.jms.util.UserCredentialsConnectionFactoryAdapter
All Implemented Interfaces:
javax.jms.ConnectionFactory

public class UserCredentialsConnectionFactoryAdapter
extends Object
implements javax.jms.ConnectionFactory


Constructor Summary
UserCredentialsConnectionFactoryAdapter()
           
 
Method Summary
 javax.jms.Connection createConnection()
           
 javax.jms.Connection createConnection(String userName2, String password2)
           
 void setPassword(String password2)
           
 void setTargetConnectionFactory(javax.jms.ConnectionFactory cf)
           
 void setUsername(String userName2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCredentialsConnectionFactoryAdapter

public UserCredentialsConnectionFactoryAdapter()
Method Detail

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 API

Apache CXF