/*
 * JBoss, the OpenSource EJB server
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package org.jboss.tm;

/**
 *   <description> 
 *      
 *   @see <related>
 *   @author Rickard Öberg (rickard.oberg@telkel.com)
 *   @author Toby Allsopp (toby.allsopp@peace.com)
 *   @version $Revision: 1.5.4.1 $
 */
public interface TransactionManagerServiceMBean
   extends org.jboss.util.ServiceMBean
{
   // Constants -----------------------------------------------------
   public static final String OBJECT_NAME = ":service=TransactionManager";
    
   // Public --------------------------------------------------------
   public int getTransactionTimeout();

   public void setTransactionTimeout(int timeout);

   public String getXidClassName();

   public void setXidClassName(String name);

   public long getNumTransactions();

   public long getNumSuspendedTransactions();
}

