Class XAResource
- Namespace
- Javax.Transaction.Xa
- Assembly
- MASES.JNet.dll
public class XAResource : JVMBridgeBase<XAResource>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IXAResource
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<XAResource>XAResource
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<XAResource>.SExecuteWithSignature<TReturn>(IJavaType, string, string, params object[])JVMBridgeBase<XAResource>.SExecuteWithSignature<TNewClass, TReturn>(string, string, params object[])JVMBridgeBase<XAResource>.IsAssignableFrom(IJavaType)JVMBridgeBase<XAResource>.IsAssignableFrom<T>()JVMBridgeBase<XAResource>.Execute<T>(params T[])JVMBridgeBase<XAResource>.DynBridgeClazzJVMBridgeBase<XAResource>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
XAResource()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("XAResource class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public XAResource()
XAResource(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("XAResource class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public XAResource(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
TMENDRSCAN
public static int TMENDRSCAN { get; }
Property Value
TMFAIL
public static int TMFAIL { get; }
Property Value
TMJOIN
public static int TMJOIN { get; }
Property Value
TMNOFLAGS
public static int TMNOFLAGS { get; }
Property Value
TMONEPHASE
public static int TMONEPHASE { get; }
Property Value
TMRESUME
public static int TMRESUME { get; }
Property Value
TMSTARTRSCAN
public static int TMSTARTRSCAN { get; }
Property Value
TMSUCCESS
public static int TMSUCCESS { get; }
Property Value
TMSUSPEND
public static int TMSUSPEND { get; }
Property Value
TransactionTimeout
public int TransactionTimeout { get; }
Property Value
XA_OK
public static int XA_OK { get; }
Property Value
XA_RDONLY
public static int XA_RDONLY { get; }
Property Value
Methods
Commit(Xid, bool)
public void Commit(Xid arg0, bool arg1)
Parameters
Exceptions
End(Xid, int)
public void End(Xid arg0, int arg1)
Parameters
Exceptions
Forget(Xid)
public void Forget(Xid arg0)
Parameters
Exceptions
IsSameRM(XAResource)
public bool IsSameRM(XAResource arg0)
Parameters
arg0
XAResource
Returns
Exceptions
Prepare(Xid)
public int Prepare(Xid arg0)
Parameters
Returns
Exceptions
Recover(int)
public Xid[] Recover(int arg0)
Parameters
Returns
Exceptions
Rollback(Xid)
public void Rollback(Xid arg0)
Parameters
Exceptions
SetTransactionTimeout(int)
public bool SetTransactionTimeout(int arg0)
Parameters
Returns
Exceptions
Start(Xid, int)
public void Start(Xid arg0, int arg1)