org.objectweb.joram.client.connector.OutboundTopicConnection Class Reference

Inherits org.objectweb.joram.client.connector.OutboundConnection.

Inheritance diagram for org.objectweb.joram.client.connector.OutboundTopicConnection:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.client.connector.OutboundTopicConnection:

Collaboration graph
[legend]
List of all members.

Public Member Functions

TopicSession createTopicSession (boolean transacted, int acknowledgeMode) throws JMSException
ConnectionConsumer createConnectionConsumer (Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException

Package Functions

 OutboundTopicConnection (ManagedConnectionImpl managedCx, XATopicConnection xac)

Detailed Description

An OutboundTopicConnection instance is a handler for a physical PubSub connection to an underlying JORAM server, allowing a component to transparently use this physical connection possibly within a transaction (local or global).

Definition at line 36 of file OutboundTopicConnection.java.


Constructor & Destructor Documentation

org.objectweb.joram.client.connector.OutboundTopicConnection.OutboundTopicConnection ( ManagedConnectionImpl  managedCx,
XATopicConnection  xac 
) [package]

Constructs an OutboundTopicConnection instance.

Parameters:
managedCx The managed connection building the handle.
xac The underlying physical PubSub connection to handle.

Definition at line 46 of file OutboundTopicConnection.java.

References org.objectweb.joram.client.connector.OutboundConnection.managedCx.


Member Function Documentation

TopicSession org.objectweb.joram.client.connector.OutboundTopicConnection.createTopicSession ( boolean  transacted,
int  acknowledgeMode 
) throws JMSException

Returns the unique authorized JMS session per connection wrapped in an OutboundTopicSession instance.

Exceptions:
javax.jms.IllegalStateException If the handle is invalid.
javax.jms.JMSException Generic exception.

Definition at line 65 of file OutboundTopicConnection.java.

References org.objectweb.joram.client.connector.OutboundConnection.managedCx, org.objectweb.joram.client.connector.ManagedConnectionImpl.session, org.objectweb.joram.client.connector.OutboundConnection.valid, and org.objectweb.joram.client.connector.OutboundConnection.xac.

ConnectionConsumer org.objectweb.joram.client.connector.OutboundTopicConnection.createConnectionConsumer ( Topic  topic,
String  messageSelector,
ServerSessionPool  sessionPool,
int  maxMessages 
) throws JMSException

Forbidden call on an application or component's outbound connection, throws a IllegalStateException instance.

Definition at line 91 of file OutboundTopicConnection.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:17:43 2008 for joram by  doxygen 1.5.0