|
Sun Java(tm) System Message Queue v3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.messaging.AdministeredObject
com.sun.messaging.BasicConnectionFactory
com.sun.messaging.ConnectionFactory
A ConnectionFactory is used to create Connections with
the Sun MQ Java Message Service (JMS) provider.
javax.jms.ConnectionFactory,
com.sun.messaging.ConnectionConfiguration,
Serialized Form| Field Summary |
| Fields inherited from class com.sun.messaging.AdministeredObject |
AO_PROPERTY_TYPE_BOOLEAN, AO_PROPERTY_TYPE_INTEGER, AO_PROPERTY_TYPE_LIST, AO_PROPERTY_TYPE_LONG, AO_PROPERTY_TYPE_PROPERTYOWNER, AO_PROPERTY_TYPE_STRING, configuration, configurationLabels, configurationTypes, cr, storedVersion, VERSION |
| Constructor Summary | |
|
ConnectionFactory()
Constructs a ConnectionFactory with the default configuration. |
protected |
ConnectionFactory(String defaultsBase)
Constructs a ConnectionFactory with the specified configuration. |
| Method Summary | |
QueueConnection |
createQueueConnection()
Creates a Queue Connection with the default user identity. |
QueueConnection |
createQueueConnection(String username,
String password)
Creates a Queue Connection with a specified user identity. |
TopicConnection |
createTopicConnection()
Creates a Topic Connection with the default user identity. |
TopicConnection |
createTopicConnection(String username,
String password)
Creates a Topic Connection with a specified user identity. |
Reference |
getReference()
Returns the reference to this object. |
| Methods inherited from class com.sun.messaging.BasicConnectionFactory |
createConnection, createConnection, getConnectionType, setConnectionType, setDefaultConfiguration, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConnectionFactory()
protected ConnectionFactory(String defaultsBase)
| Method Detail |
public QueueConnection createQueueConnection()
throws JMSException
ConnectionFactory properties
imqDefaultUsername and imqDefaultPassword
JMSException - if a JMS error occurs.ConnectionConfiguration.imqDefaultUsername,
ConnectionConfiguration.imqDefaultPassword
public QueueConnection createQueueConnection(String username,
String password)
throws JMSException
username - the caller's user namepassword - the caller's password
JMSException - if a JMS error occurs.
public TopicConnection createTopicConnection()
throws JMSException
ConnectionFactory properties
imqDefaultUsername and imqDefaultPassword
JMSException - if a JMS error occurs.ConnectionConfiguration.imqDefaultUsername,
ConnectionConfiguration.imqDefaultPassword
public TopicConnection createTopicConnection(String username,
String password)
throws JMSException
username - the caller's user namepassword - the caller's password
JMSException - if a JMS error occurs.public Reference getReference()
getReference in interface Referenceable
|
Sun Java(tm) System Message Queue v3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||