/*
 * Created on May 9, 2004
 * 
 * TODO To change the template for this generated file go to Window -
 * Preferences - Java - Code Generation - Code and Comments
 */
package org.codehaus.activemq;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;

import org.codehaus.activemq.test.JmsResourceProvider;
/**
 * @version $Revision: 1.2 $
 */
public class JmsXAResourceProvider extends JmsResourceProvider {
	
	/**
	 * @see org.codehaus.activemq.test.JmsResourceProvider#createConnectionFactory()
	 */
	public ConnectionFactory createConnectionFactory() throws JMSException {
		return new ActiveMQXAConnectionFactory(getServerUri());
	}
	
	/**
	 * @see org.codehaus.activemq.test.JmsResourceProvider#isTransacted()
	 */
	public boolean isTransacted() {
		return true;
	}
}