bitronix.tm.resource.jms.lrc
Class LrcXAConnectionFactory

java.lang.Object
  extended bybitronix.tm.resource.jms.lrc.LrcXAConnectionFactory
All Implemented Interfaces:
javax.jms.XAConnectionFactory

public class LrcXAConnectionFactory
extends java.lang.Object
implements javax.jms.XAConnectionFactory

XAConnectionFactory implementation for a non-XA JMS resource emulating XA with Last Resource Commit.

© Bitronix Software

Author:
lorban

Constructor Summary
LrcXAConnectionFactory()
           
 
Method Summary
 javax.jms.XAConnection createXAConnection()
           
 javax.jms.XAConnection createXAConnection(java.lang.String user, java.lang.String password)
           
 java.lang.String getConnectionFactoryClassName()
           
 java.util.Properties getProperties()
           
 void setConnectionFactoryClassName(java.lang.String connectionFactoryClassName)
           
 void setProperties(java.util.Properties properties)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LrcXAConnectionFactory

public LrcXAConnectionFactory()
Method Detail

getConnectionFactoryClassName

public java.lang.String getConnectionFactoryClassName()

setConnectionFactoryClassName

public void setConnectionFactoryClassName(java.lang.String connectionFactoryClassName)

getProperties

public java.util.Properties getProperties()

setProperties

public void setProperties(java.util.Properties properties)

createXAConnection

public javax.jms.XAConnection createXAConnection()
                                          throws javax.jms.JMSException
Specified by:
createXAConnection in interface javax.jms.XAConnectionFactory
Throws:
javax.jms.JMSException

createXAConnection

public javax.jms.XAConnection createXAConnection(java.lang.String user,
                                                 java.lang.String password)
                                          throws javax.jms.JMSException
Specified by:
createXAConnection in interface javax.jms.XAConnectionFactory
Throws:
javax.jms.JMSException

toString

public java.lang.String toString()