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

Inherits org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ManagedQueueConnectionFactoryImpl ()
Object createConnectionFactory (ConnectionManager cxManager) throws ResourceException
Object createConnectionFactory () throws ResourceException
ManagedConnection createManagedConnection (Subject subject, ConnectionRequestInfo cxRequest) throws ResourceException
ManagedConnection matchManagedConnections (Set connectionSet, Subject subject, ConnectionRequestInfo cxRequest) throws ResourceException
int hashCode ()
boolean equals (Object o)

Detailed Description

A ManagedQueueConnectionFactoryImpl instance manages PTP outbound connectivity to a given JORAM server.

Definition at line 60 of file ManagedQueueConnectionFactoryImpl.java.


Constructor & Destructor Documentation

org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.ManagedQueueConnectionFactoryImpl (  ) 

Constructs a ManagedQueueConnectionFactoryImpl instance.

Definition at line 75 of file ManagedQueueConnectionFactoryImpl.java.


Member Function Documentation

Object org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.createConnectionFactory ( ConnectionManager  cxManager  )  throws ResourceException

Method called by an application server (managed case) for creating an OutboundQueueConnectionFactory instance.

Parameters:
cxManager Application server's connections pooling manager.
Exceptions:
ResourceException Never thrown.

Reimplemented from org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.

Definition at line 87 of file ManagedQueueConnectionFactoryImpl.java.

Object org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.createConnectionFactory (  )  throws ResourceException

Method called in the non managed case for creating an OutboundQueueConnectionFactory instance.

Exceptions:
ResourceException Never thrown.

Reimplemented from org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.

Definition at line 101 of file ManagedQueueConnectionFactoryImpl.java.

References org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.hostName, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.password, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.serverPort, org.objectweb.joram.client.connector.OutboundConnectionFactory.setReference(), and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.userName.

Here is the call graph for this function:

ManagedConnection org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.createManagedConnection ( Subject  subject,
ConnectionRequestInfo  cxRequest 
) throws ResourceException

Creates a new PTP physical connection to the underlying JORAM server, and returns a ManagedConnectionImpl instance for a managed environment.

Parameters:
subject Security data, not taken into account.
cxRequest User identification data, may be null.
Exceptions:
CommException If the JORAM server is not reachable.
SecurityException If the connecting is not allowed.
IllegalStateException If the central Joram adapter state is invalid.
ResourceException If the provided user info is invalid, or if connecting fails for any other reason.

Reimplemented from org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.

Definition at line 140 of file ManagedQueueConnectionFactoryImpl.java.

References org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.collocated, org.objectweb.joram.client.connector.JoramAdapter.haURL, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.hostName, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.isHa, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.out, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.password, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.ra, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.serverPort, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.setParameters(), and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.userName.

Here is the call graph for this function:

ManagedConnection org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.matchManagedConnections ( Set  connectionSet,
Subject  subject,
ConnectionRequestInfo  cxRequest 
) throws ResourceException

Finds a matching connection from the candidate set of connections and returns a ManagedConnectionImpl instance.

Parameters:
connectionSet Set of connections to test.
subject Security data, not taken into account.
cxRequest User identification data, may be null.
Exceptions:
ResourceException If the provided connection request info is invalid.

Reimplemented from org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.

Definition at line 284 of file ManagedQueueConnectionFactoryImpl.java.

References org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.collocated, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.hostName, org.objectweb.joram.client.connector.ManagedConnectionImpl.matches(), org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.out, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.serverPort, org.objectweb.joram.client.connector.ManagedConnectionImpl.setLogWriter(), and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.userName.

Here is the call graph for this function:

int org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.hashCode (  ) 

Returns a code depending on the managed factory configuration.

Reimplemented from org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.

Definition at line 345 of file ManagedQueueConnectionFactoryImpl.java.

References org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.hostName, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.serverPort, and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.userName.

boolean org.objectweb.joram.client.connector.ManagedQueueConnectionFactoryImpl.equals ( Object  o  ) 

Compares managed factories according to their configuration.

Reimplemented from org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.

Definition at line 356 of file ManagedQueueConnectionFactoryImpl.java.

References org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.hostName, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.serverPort, and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.userName.


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