public class QpidConnectionFactoryProxy extends Object implements javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Externalizable, Referenceable, Serializable
| Constructor and Description |
|---|
QpidConnectionFactoryProxy()
This constructor should not only be used be de-serialisation code.
|
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Connection |
createConnection()
Create a connection
|
javax.jms.Connection |
createConnection(String userName,
String password)
Create a connection
|
javax.jms.QueueConnection |
createQueueConnection()
Create a queue connection
|
javax.jms.QueueConnection |
createQueueConnection(String userName,
String password)
Create a queue connection
|
javax.jms.TopicConnection |
createTopicConnection()
Create a topic connection
|
javax.jms.TopicConnection |
createTopicConnection(String userName,
String password)
Create a topic connection
|
String |
getConnectionURL() |
Reference |
getReference() |
void |
readExternal(ObjectInput in) |
void |
setConnectionURL(String connectionURL) |
void |
writeExternal(ObjectOutput out) |
public QpidConnectionFactoryProxy()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionpublic void setConnectionURL(String connectionURL)
public String getConnectionURL()
public javax.jms.Connection createConnection()
throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.TopicConnection createTopicConnection()
throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failsCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.