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

Inherited by org.objectweb.joram.client.connector.OutboundQueueConnectionFactory, and org.objectweb.joram.client.connector.OutboundTopicConnectionFactory.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

javax.jms.Connection createConnection () throws JMSException
javax.jms.Connection createConnection (String userName, String password) throws JMSException
void setReference (Reference ref)
Reference getReference ()

Protected Attributes

ManagedConnectionFactoryImpl mcf
ConnectionManager cxManager
Reference reference

Package Functions

 OutboundConnectionFactory (ManagedConnectionFactoryImpl mcf, ConnectionManager cxManager)

Detailed Description

An OutboundConnectionFactory instance is used for getting a connection to an underlying JORAM server.

Definition at line 38 of file OutboundConnectionFactory.java.


Constructor & Destructor Documentation

org.objectweb.joram.client.connector.OutboundConnectionFactory.OutboundConnectionFactory ( ManagedConnectionFactoryImpl  mcf,
ConnectionManager  cxManager 
) [package]

Constructs an OutboundConnectionFactory instance.

Parameters:
mcf Central manager for outbound connectivity.
cxManager Manager for connection pooling.

Definition at line 59 of file OutboundConnectionFactory.java.

References org.objectweb.joram.client.connector.OutboundConnectionFactory.mcf.


Member Function Documentation

javax.jms.Connection org.objectweb.joram.client.connector.OutboundConnectionFactory.createConnection (  )  throws JMSException

Requests a connection for the default user, eventually returns an OutboundConnection instance.

Exceptions:
JMSSecurityException If connecting is not allowed.
IllegalStateException If the underlying JORAM server is not reachable.
JMSException Generic exception.

Definition at line 85 of file OutboundConnectionFactory.java.

References org.objectweb.joram.client.connector.OutboundConnectionFactory.mcf, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.password, and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.userName.

javax.jms.Connection org.objectweb.joram.client.connector.OutboundConnectionFactory.createConnection ( String  userName,
String  password 
) throws JMSException

Requests a connection for a given user, eventually returns an OutboundConnection instance.

Exceptions:
JMSSecurityException If connecting is not allowed.
IllegalStateException If the underlying JORAM server is not reachable.
JMSException Generic exception.

Definition at line 103 of file OutboundConnectionFactory.java.

References org.objectweb.joram.client.connector.OutboundConnectionFactory.cxManager, and org.objectweb.joram.client.connector.OutboundConnectionFactory.mcf.

void org.objectweb.joram.client.connector.OutboundConnectionFactory.setReference ( Reference  ref  ) 

Sets the naming reference of this factory.

Definition at line 137 of file OutboundConnectionFactory.java.

Referenced by org.objectweb.joram.client.connector.ManagedTopicConnectionFactoryImpl.createConnectionFactory(), org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.createConnectionFactory(), and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.createConnectionFactory().

Reference org.objectweb.joram.client.connector.OutboundConnectionFactory.getReference (  ) 

Returns the naming reference of this factory.

Definition at line 143 of file OutboundConnectionFactory.java.

References org.objectweb.joram.client.connector.OutboundConnectionFactory.reference.


Member Data Documentation

ManagedConnectionFactoryImpl org.objectweb.joram.client.connector.OutboundConnectionFactory.mcf [protected]

Central manager for outbound connectivity.

Definition at line 45 of file OutboundConnectionFactory.java.

Referenced by org.objectweb.joram.client.connector.OutboundConnectionFactory.createConnection(), org.objectweb.joram.client.connector.OutboundQueueConnectionFactory.createQueueConnection(), org.objectweb.joram.client.connector.OutboundTopicConnectionFactory.createTopicConnection(), org.objectweb.joram.client.connector.OutboundConnectionFactory.OutboundConnectionFactory(), org.objectweb.joram.client.connector.OutboundQueueConnectionFactory.OutboundQueueConnectionFactory(), and org.objectweb.joram.client.connector.OutboundTopicConnectionFactory.OutboundTopicConnectionFactory().

ConnectionManager org.objectweb.joram.client.connector.OutboundConnectionFactory.cxManager [protected]

Manager for connection pooling.

Definition at line 47 of file OutboundConnectionFactory.java.

Referenced by org.objectweb.joram.client.connector.OutboundConnectionFactory.createConnection(), org.objectweb.joram.client.connector.OutboundQueueConnectionFactory.createQueueConnection(), and org.objectweb.joram.client.connector.OutboundTopicConnectionFactory.createTopicConnection().

Reference org.objectweb.joram.client.connector.OutboundConnectionFactory.reference [protected]

Naming reference of this instance.

Definition at line 50 of file OutboundConnectionFactory.java.

Referenced by org.objectweb.joram.client.connector.OutboundConnectionFactory.getReference().


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