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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public void setConnectionURL(String connectionURL)
public String getConnectionURL()
public javax.jms.Connection createConnection() throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
userName
- 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.QueueConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
userName
- 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.TopicConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
userName
- The user namepassword
- The passwordjavax.jms.JMSException
- Thrown if the operation failsCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.