Inheritance diagram for org.objectweb.jonas_jms.JConnection:
Public Member Functions | |
JConnection (JConnectionFactory jcf, XAConnectionFactory xacf, String user, String passwd) throws JMSException | |
JConnection (JConnectionFactory jcf, XAConnectionFactory xacf) throws JMSException | |
String | getUser () |
void | close () throws JMSException |
ConnectionConsumer | createConnectionConsumer (Destination destination, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException |
ConnectionConsumer | createDurableConnectionConsumer (Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException |
Session | createSession (boolean transacted, int acknowledgeMode) throws JMSException |
String | getClientID () throws JMSException |
void | setClientID (String clientID) throws JMSException |
ConnectionMetaData | getMetaData () throws JMSException |
ExceptionListener | getExceptionListener () throws JMSException |
void | setExceptionListener (ExceptionListener listener) throws JMSException |
void | start () throws JMSException |
void | stop () throws JMSException |
Protected Member Functions | |
JConnection (JConnectionFactory jcf, String user) throws JMSException | |
synchronized boolean | sessionOpen (Session s) |
synchronized void | sessionClose (Session s) |
Definition at line 55 of file JConnection.java.
|
Prepares the construction of a JConnection. Definition at line 74 of file JConnection.java. |
|
Constructor of a JConnection for a specified user.
Definition at line 96 of file JConnection.java. |
|
Constructor of a JConnection for an anonymous user. Definition at line 106 of file JConnection.java. |
|
When this method is invoked it should not return until message processing has been orderly shut down. This means that all message listeners that may have been running have returned and that all pending receives have returned. A close terminates all pending message receives on the connection's sessions' consumers.
Definition at line 158 of file JConnection.java. References org.objectweb.jonas_jms.JConnectionFactory.freeJConnection(). |
Here is the call graph for this function:
|
Creates a connection consumer for this connection (optional operation)
Definition at line 201 of file JConnection.java. |
|
Creates a connection consumer for this connection (optional operation)
Definition at line 226 of file JConnection.java. |
|
Creates a Session object.
Definition at line 251 of file JConnection.java. Referenced by org.objectweb.jonas_jms.JSession.getMOMSession(). |
|
Get the client identifier for this connection. This value is JMS Provider specific. Either pre-configured by an administrator in a ConnectionFactory or assigned dynamically by the application by calling setClientID method.
Definition at line 265 of file JConnection.java. |
|
Get the ExceptionListener for this Connection.
Definition at line 303 of file JConnection.java. |
|
Get the meta data for this connection.
Definition at line 292 of file JConnection.java. |
|
Return the user associated to this connection Definition at line 141 of file JConnection.java. Referenced by org.objectweb.jonas_jms.JConnectionFactory.getJConnection(). |
|
A non transacted session has beem closed Definition at line 131 of file JConnection.java. |
|
A new non transacted session has been opened Definition at line 119 of file JConnection.java. Referenced by org.objectweb.jonas_jms.JSession.getMOMSession(). |
|
Set the client identifier for this connection. If another connection with clientID is already running when this method is called, the JMS Provider should detect the duplicate id and throw InvalidClientIDException.
Definition at line 281 of file JConnection.java. |
|
Set an exception listener for this connection.
Definition at line 314 of file JConnection.java. |
|
Start (or restart) a Connection's delivery of incoming messages.
Definition at line 324 of file JConnection.java. |
|
Used to temporarily stop a Connection's delivery of incoming messages. It can be restarted using its start method. When stopped, delivery to all the Connection's message consumers is inhibited: synchronous receive's block and messages are not delivered to message listeners.
Definition at line 337 of file JConnection.java. |