|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.tm.TransactionManagerService
This is a JMX service which manages the TransactionManager. The service creates it and binds a Reference to it into JNDI.
TxManager| Field Summary | |
static String |
JNDI_EXPORTER
|
static String |
JNDI_IMPORTER
|
static String |
JNDI_NAME
|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
TransactionManagerService()
|
|
| Method Summary | |
long |
getCommitCount()
The number of commits. |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
|
long |
getRollbackCount()
The number of rollbacks. |
long |
getTransactionCount()
Counts the number of transactions |
TransactionManager |
getTransactionManager()
mbean get-set pair for field transactionManager Get the value of transactionManager |
int |
getTransactionTimeout()
Describe getTransactionTimeout method here. |
javax.management.ObjectName |
getXidFactory()
mbean get-set pair for field xidFactory Get the value of xidFactory |
void |
registerXAExceptionFormatter(Class clazz,
XAExceptionFormatter formatter)
The registerXAExceptionFormatter method |
void |
setTransactionTimeout(int timeout)
Describe setTransactionTimeout method here. |
void |
setXidFactory(javax.management.ObjectName xidFactory)
Set the value of xidFactory |
protected void |
startService()
|
protected void |
stopService()
|
void |
unregisterXAExceptionFormatter(Class clazz)
The unregisterXAExceptionFormatter method |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
| Field Detail |
public static String JNDI_NAME
public static String JNDI_IMPORTER
public static String JNDI_EXPORTER
| Constructor Detail |
public TransactionManagerService()
| Method Detail |
protected void startService()
throws Exception
Exceptionprotected void stopService()
public int getTransactionTimeout()
getTransactionTimeout method here.
getTransactionTimeout in interface TransactionManagerServiceMBeanint valuepublic void setTransactionTimeout(int timeout)
setTransactionTimeout method here.
setTransactionTimeout in interface TransactionManagerServiceMBeantimeout - an int valuepublic javax.management.ObjectName getXidFactory()
getXidFactory in interface TransactionManagerServiceMBeanpublic void setXidFactory(javax.management.ObjectName xidFactory)
setXidFactory in interface TransactionManagerServiceMBeanxidFactory - Value to assign to xidFactorypublic TransactionManager getTransactionManager()
getTransactionManager in interface TransactionManagerServiceMBeanpublic long getTransactionCount()
getTransactionCount in interface TransactionManagerServiceMBeanpublic long getCommitCount()
getCommitCount in interface TransactionManagerServiceMBeanpublic long getRollbackCount()
getRollbackCount in interface TransactionManagerServiceMBeanpublic void registerXAExceptionFormatter(Class clazz, XAExceptionFormatter formatter)
registerXAExceptionFormatter method
registerXAExceptionFormatter in interface TransactionManagerServiceMBeanclazz - a Class valueformatter - a XAExceptionFormatter valuepublic void unregisterXAExceptionFormatter(Class clazz)
unregisterXAExceptionFormatter method
unregisterXAExceptionFormatter in interface TransactionManagerServiceMBeanclazz - a Class valuepublic Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception
getObjectInstance in interface ObjectFactoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||