|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl
The the connection factory implementation for the JMS RA.
This object will be the QueueConnectionFactory or TopicConnectionFactory which clients will use to create connections. Created: Thu Apr 26 17:02:50 2001
Field Summary |
Fields inherited from interface org.jboss.resource.adapter.jms.JmsConnectionFactory (src) |
BOTH, QUEUE, TOPIC |
Constructor Summary | |
JmsConnectionFactoryImpl(ManagedConnectionFactory (src) mcf,
ConnectionManager (src) cm)
|
Method Summary | |
Connection (src) |
createConnection()
Creates a connection with the default user identity. |
Connection (src) |
createConnection(java.lang.String userName,
java.lang.String password)
Creates a connection with the specified user identity. |
QueueConnection (src) |
createQueueConnection()
Creates a queue connection with the default user identity. |
QueueConnection (src) |
createQueueConnection(java.lang.String userName,
java.lang.String password)
Creates a queue connection with the specified user identity. |
TopicConnection (src) |
createTopicConnection()
Creates a topic connection with the default user identity. |
TopicConnection (src) |
createTopicConnection(java.lang.String userName,
java.lang.String password)
Creates a topic connection with the specified user identity. |
javax.naming.Reference |
getReference()
|
void |
setReference(javax.naming.Reference reference)
Sets the reference instance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JmsConnectionFactoryImpl(ManagedConnectionFactory (src) mcf, ConnectionManager (src) cm)
Method Detail |
public void setReference(javax.naming.Reference reference)
Referenceable (src)
setReference
in interface Referenceable (src)
reference
- the referencepublic javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
public QueueConnection (src) createQueueConnection() throws JMSException (src)
QueueConnectionFactory (src)
Connection.start
method
is explicitly called.
.
createQueueConnection
in interface QueueConnectionFactory (src)
JMSException (src)
- if the JMS provider fails to create the queue
connection due to some internal error.public QueueConnection (src) createQueueConnection(java.lang.String userName, java.lang.String password) throws JMSException (src)
QueueConnectionFactory (src)
Connection.start
method
is explicitly called.
createQueueConnection
in interface QueueConnectionFactory (src)
userName
- the caller's user namepassword
- the caller's password
JMSException (src)
- if the JMS provider fails to create the queue
connection due to some internal error.public TopicConnection (src) createTopicConnection() throws JMSException (src)
TopicConnectionFactory (src)
Connection.start
method
is explicitly called.
createTopicConnection
in interface TopicConnectionFactory (src)
JMSException (src)
- if the JMS provider fails to create a topic
connection due to some internal error.public TopicConnection (src) createTopicConnection(java.lang.String userName, java.lang.String password) throws JMSException (src)
TopicConnectionFactory (src)
Connection.start
method
is explicitly called.
createTopicConnection
in interface TopicConnectionFactory (src)
userName
- the caller's user namepassword
- the caller's password
JMSException (src)
- if the JMS provider fails to create a topic
connection due to some internal error.public Connection (src) createConnection() throws JMSException (src)
ConnectionFactory (src)
Connection.start
method
is explicitly called.
createConnection
in interface ConnectionFactory (src)
JMSException (src)
- if the JMS provider fails to create the
connection due to some internal error.public Connection (src) createConnection(java.lang.String userName, java.lang.String password) throws JMSException (src)
ConnectionFactory (src)
Connection.start
method
is explicitly called.
createConnection
in interface ConnectionFactory (src)
userName
- the caller's user namepassword
- the caller's password
JMSException (src)
- if the JMS provider fails to create the
connection due to some internal error.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |