org.objectweb.joram.client.connector
Class OutboundConnectionFactory
java.lang.Object
org.objectweb.joram.client.connector.OutboundConnectionFactory
- javax.jms.ConnectionFactory, javax.resource.Referenceable, java.io.Serializable
public class OutboundConnectionFactory
extends java.lang.Object
implements javax.jms.ConnectionFactory, java.io.Serializable, javax.resource.Referenceable
An OutboundConnectionFactory
instance is used for
getting a connection to an underlying JORAM server.
- Serialized Form
javax.jms.Connection | createConnection() - Requests a connection for the default user, eventually returns an
OutboundConnection instance.
|
javax.jms.Connection | createConnection(String userName, String password) - Requests a connection for a given user, eventually returns an
OutboundConnection instance.
|
Reference | getReference() - Returns the naming reference of this factory.
|
void | setReference(Reference ref) - Sets the naming reference of this factory.
|
cxManager
protected ConnectionManager cxManager
Manager for connection pooling.
reference
protected Reference reference
Naming reference of this instance.
createConnection
public javax.jms.Connection createConnection()
throws JMSException
Requests a connection for the default user, eventually returns an
OutboundConnection
instance.
createConnection
public javax.jms.Connection createConnection(String userName,
String password)
throws JMSException
Requests a connection for a given user, eventually returns an
OutboundConnection
instance.
getReference
public Reference getReference()
Returns the naming reference of this factory.
setReference
public void setReference(Reference ref)
Sets the naming reference of this factory.
Copyright B) 2004 Scalagent - All rights reserved