|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.icatch.admin.jmx.JmxTransactionService
public class JmxTransactionService
An MBean implementation for JMX-based transaction administration. If you use this class, then you will also need to register a JmxLogAdministrator with the UserTransactionService. An instance of this class can be registered in a JMX server, and will co-operate with the JmxLogAdministrator. The net effect of this will be that pending transactions can be monitored and administered via JMX.
| Constructor Summary | |
|---|---|
JmxTransactionService()
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
getHeuristicsOnly()
Gets the heuristic mode. |
ObjectName[] |
getTransactions()
Gets the pending transactions from the Transaction Service. |
void |
postDeregister()
|
void |
postRegister(Boolean arg0)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
void |
setHeuristicsOnly(boolean heuristicsOnly)
Sets whether only heuristic transactions should be returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmxTransactionService()
| Method Detail |
|---|
public ObjectName[] getTransactions()
JmxTransactionServiceMBean
getTransactions in interface JmxTransactionServiceMBeanjmx.TransactionServiceMBean
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
preRegister in interface MBeanRegistrationExceptionMBeanRegistration.preRegister(javax.management.MBeanServer,
javax.management.ObjectName)public void postRegister(Boolean arg0)
postRegister in interface MBeanRegistrationMBeanRegistration.postRegister(java.lang.Boolean)
public void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationExceptionMBeanRegistration.preDeregister()public void postDeregister()
postDeregister in interface MBeanRegistrationMBeanRegistration.postDeregister()public void setHeuristicsOnly(boolean heuristicsOnly)
setHeuristicsOnly in interface JmxTransactionServiceMBeanheuristicsOnly - public boolean getHeuristicsOnly()
JmxTransactionServiceMBean
getHeuristicsOnly in interface JmxTransactionServiceMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||