|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
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 (src) | Field Summary | |
static java.lang.String |
JNDI_EXPORTER
|
static java.lang.String |
JNDI_IMPORTER
|
static java.lang.String |
JNDI_NAME
|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean (src) |
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. |
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
|
long |
getRollbackCount()
The number of rollbacks. |
long |
getTransactionCount()
Counts the number of transactions |
TransactionManager (src) |
getTransactionManager()
mbean get-set pair for field transactionManager Get the value of transactionManager |
int |
getTransactionTimeout()
Describe getTransactionTimeout method here. |
JBossXATerminator (src) |
getXATerminator()
Get the xa terminator |
ObjectName (src) |
getXidFactory()
mbean get-set pair for field xidFactory Get the value of xidFactory |
boolean |
isInterruptThreads()
Is thread interruption enabled at transaction timeout |
void |
registerXAExceptionFormatter(java.lang.Class clazz,
XAExceptionFormatter (src) 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(ObjectName (src) xidFactory)
Set the value of xidFactory |
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
void |
unregisterXAExceptionFormatter(java.lang.Class clazz)
The unregisterXAExceptionFormatter method |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String JNDI_NAME
public static java.lang.String JNDI_IMPORTER
public static java.lang.String JNDI_EXPORTER
| Constructor Detail |
public TransactionManagerService()
| Method Detail |
protected void startService()
throws java.lang.Exception
ServiceMBeanSupport (src) This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService in class ServiceMBeanSupport (src) java.lang.Exceptionprotected void stopService()
ServiceMBeanSupport (src) This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService in class ServiceMBeanSupport (src) public boolean getGlobalIdsEnabled()
getGlobalIdsEnabled method here.
boolean valuepublic void setGlobalIdsEnabled(boolean newValue)
setGlobalIdsEnabled method here.
newValue - an boolean valuepublic boolean isInterruptThreads()
public void setInterruptThreads(boolean interruptThreads)
interruptThreads - pass true to interrupt threads, false otherwisepublic int getTransactionTimeout()
getTransactionTimeout method here.
int valuepublic void setTransactionTimeout(int timeout)
setTransactionTimeout method here.
timeout - an int valuepublic ObjectName (src) getXidFactory()
public void setXidFactory(ObjectName (src) xidFactory)
xidFactory - Value to assign to xidFactorypublic TransactionManager (src) getTransactionManager()
public JBossXATerminator (src) getXATerminator()
public long getTransactionCount()
public long getCommitCount()
public long getRollbackCount()
public void registerXAExceptionFormatter(java.lang.Class clazz,
XAExceptionFormatter (src) formatter)
registerXAExceptionFormatter method
clazz - a Class valueformatter - a XAExceptionFormatter valuepublic void unregisterXAExceptionFormatter(java.lang.Class clazz)
unregisterXAExceptionFormatter method
clazz - a Class value
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
throws java.lang.Exception
getObjectInstance in interface javax.naming.spi.ObjectFactoryjava.lang.Exception
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||