1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.jms;
  6. /** The <CODE>XAConnectionFactory</CODE> interface is a base interface for the
  7. * <CODE>XAQueueConnectionFactory</CODE> and
  8. * <CODE>XATopicConnectionFactory</CODE> interfaces.
  9. *
  10. * <P>Some application servers provide support for grouping JTS capable
  11. * resource use into a distributed transaction (optional). To include JMS API transactions
  12. * in a JTS transaction, an application server requires a JTS aware JMS
  13. * provider. A JMS provider exposes its JTS support using an
  14. * <CODE>XAConnectionFactory</CODE> object, which an application server uses
  15. * to create <CODE>XAConnection</CODE> objects.
  16. *
  17. * <P><CODE>XAConnectionFactory</CODE> objects are JMS administered objects,
  18. * just like <CODE>ConnectionFactory</CODE> objects. It is expected that
  19. * application servers will find them using the Java Naming and Directory
  20. * Interface (JNDI) API.
  21. *
  22. * @version 1.0 - 14 May 1998
  23. * @author Mark Hapner
  24. * @author Rich Burridge
  25. *
  26. * @see javax.jms.XAQueueConnectionFactory
  27. * @see javax.jms.XATopicConnectionFactory
  28. */
  29. public interface XAConnectionFactory {
  30. }