|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atomikos.datasource.xa.jmx.JmxTransactionalResource
public class JmxTransactionalResource
JMX management bean for resources.
Constructor Summary | |
---|---|
JmxTransactionalResource(XATransactionalResource resource,
XAResourceConfig config,
String localName)
|
Method Summary | |
---|---|
boolean |
getAcceptAllXAResources()
Test if all XAResources should be accepted. |
boolean |
getUseWeakCompare()
Get the weak comparison mode. |
void |
postDeregister()
|
void |
postRegister(Boolean arg0)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer arg0,
ObjectName name)
|
void |
setAcceptAllXAResources(boolean val)
Instruct this resource to accept all XAResource instances.This will practically disable shared branches! The instance uses this feature to determine the exact XID to be supplied during enlistment. |
void |
setUseWeakCompare(boolean value)
Set the weak comparison mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxTransactionalResource(XATransactionalResource resource, XAResourceConfig config, String localName)
Method Detail |
---|
public boolean getUseWeakCompare()
JmxTransactionalResourceMBean
getUseWeakCompare
in interface JmxTransactionalResourceMBean
public void setUseWeakCompare(boolean value)
JmxTransactionalResourceMBean
setUseWeakCompare
in interface JmxTransactionalResourceMBean
value
- The mode.public ObjectName preRegister(MBeanServer arg0, ObjectName name) throws Exception
preRegister
in interface MBeanRegistration
Exception
public void postRegister(Boolean arg0)
postRegister
in interface MBeanRegistration
public void preDeregister() throws Exception
preDeregister
in interface MBeanRegistration
Exception
public void postDeregister()
postDeregister
in interface MBeanRegistration
public boolean getAcceptAllXAResources()
JmxTransactionalResourceMBean
getAcceptAllXAResources
in interface JmxTransactionalResourceMBean
com.atomikos.datasource.xa.jmx.JmxTransactionalResourceMBean#getAcceptsAllXAResources()
public void setAcceptAllXAResources(boolean val)
JmxTransactionalResourceMBean
setAcceptAllXAResources
in interface JmxTransactionalResourceMBean
com.atomikos.datasource.xa.jmx.JmxTransactionalResourceMBean#setAcceptsAllXAResources(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |