Save This Page
Home » JBoss-5.1.0 » org » jboss » tm » [javadoc | source]
org.jboss.tm
public class: TransactionManagerService [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.tm.TransactionManagerService

All Implemented Interfaces:
    TransactionManagerServiceMBean, ObjectFactory, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

This is a JMX service which manages the TransactionManager. The service creates it and binds a Reference to it into JNDI.
Field Summary
public static  String JNDI_NAME     
public static  String JNDI_IMPORTER     
public static  String JNDI_EXPORTER     
static  TxManager tm     
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Method from org.jboss.tm.TransactionManagerService Summary:
formatXAException,   getCommitCount,   getObjectInstance,   getRollbackCount,   getTransactionCount,   getTransactionManager,   getTransactionTimeout,   getXidFactory,   registerXAExceptionFormatter,   setTransactionTimeout,   setXidFactory,   startService,   stopService,   unregisterXAExceptionFormatter
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.tm.TransactionManagerService Detail:
  void formatXAException(XAException xae,
    Logger log) 
 public long getCommitCount() 
    The number of commits.
 public Object getObjectInstance(Object obj,
    Name name,
    Context nameCtx,
    Hashtable environment) throws Exception 
 public long getRollbackCount() 
    The number of rollbacks.
 public long getTransactionCount() 
    Counts the number of transactions
 public TransactionManager getTransactionManager() 
    mbean get-set pair for field transactionManager Get the value of transactionManager
 public int getTransactionTimeout() 
    Describe getTransactionTimeout method here.
 public ObjectName getXidFactory() 
    mbean get-set pair for field xidFactory Get the value of xidFactory
 public  void registerXAExceptionFormatter(Class clazz,
    XAExceptionFormatter formatter) 
    The registerXAExceptionFormatter method
 public  void setTransactionTimeout(int timeout) 
    Describe setTransactionTimeout method here.
 public  void setXidFactory(ObjectName xidFactory) 
    Set the value of xidFactory
 protected  void startService() throws Exception 
 protected  void stopService() 
 public  void unregisterXAExceptionFormatter(Class clazz) 
    The unregisterXAExceptionFormatter method