|
||||||||||
| 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. |
boolean |
getGlobalIdsEnabled()
Describe getGlobalIdsEnabled method here. |
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. |
JBossXATerminator |
getXATerminator()
Get the xa terminator |
javax.management.ObjectName |
getXidFactory()
mbean get-set pair for field xidFactory Get the value of xidFactory |
boolean |
isInterruptThreads()
Is thread interruption enabled at transaction timeout |
void |
registerXAExceptionFormatter(Class clazz,
XAExceptionFormatter formatter)
The registerXAExceptionFormatter method |
void |
setGlobalIdsEnabled(boolean newValue)
Describe setGlobalIdsEnabled method here. |
void |
setInterruptThreads(boolean interruptThreads)
Enable/disable thread interruption at transaction timeout. |
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 boolean getGlobalIdsEnabled()
getGlobalIdsEnabled method here.
getGlobalIdsEnabled in interface TransactionManagerServiceMBeanboolean valuepublic void setGlobalIdsEnabled(boolean newValue)
setGlobalIdsEnabled method here.
setGlobalIdsEnabled in interface TransactionManagerServiceMBeannewValue - an boolean valuepublic boolean isInterruptThreads()
isInterruptThreads in interface TransactionManagerServiceMBeanpublic void setInterruptThreads(boolean interruptThreads)
setInterruptThreads in interface TransactionManagerServiceMBeaninterruptThreads - pass true to interrupt threads, false otherwisepublic 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 JBossXATerminator getXATerminator()
getXATerminator 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 | |||||||||