Table of Contents

Class XAResource

Namespace
Javax.Transaction.Xa
Assembly
MASES.JNet.dll
public class XAResource : JVMBridgeBase<XAResource>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IXAResource
Inheritance
JVMBridgeBase
JVMBridgeBase<XAResource>
XAResource
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<XAResource>.IsAssignableFrom(IJavaType)
JVMBridgeBase<XAResource>.IsAssignableFrom<T>()
JVMBridgeBase<XAResource>.Execute<T>(params T[])
JVMBridgeBase<XAResource>.DynBridgeClazz
JVMBridgeBase<XAResource>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

TMENDRSCAN

public static int TMENDRSCAN { get; }

Property Value

int

TMFAIL

public static int TMFAIL { get; }

Property Value

int

TMJOIN

public static int TMJOIN { get; }

Property Value

int

TMNOFLAGS

public static int TMNOFLAGS { get; }

Property Value

int

TMONEPHASE

public static int TMONEPHASE { get; }

Property Value

int

TMRESUME

public static int TMRESUME { get; }

Property Value

int

TMSTARTRSCAN

public static int TMSTARTRSCAN { get; }

Property Value

int

TMSUCCESS

public static int TMSUCCESS { get; }

Property Value

int

TMSUSPEND

public static int TMSUSPEND { get; }

Property Value

int

TransactionTimeout

public int TransactionTimeout { get; }

Property Value

int

XA_OK

public static int XA_OK { get; }

Property Value

int

XA_RDONLY

public static int XA_RDONLY { get; }

Property Value

int

Methods

Commit(Xid, bool)

public void Commit(Xid arg0, bool arg1)

Parameters

arg0 Xid

Xid

arg1 bool

bool

Exceptions

XAException

End(Xid, int)

public void End(Xid arg0, int arg1)

Parameters

arg0 Xid

Xid

arg1 int

int

Exceptions

XAException

Forget(Xid)

public void Forget(Xid arg0)

Parameters

arg0 Xid

Xid

Exceptions

XAException

IsSameRM(XAResource)

public bool IsSameRM(XAResource arg0)

Parameters

arg0 XAResource

XAResource

Returns

bool

bool

Exceptions

XAException

Prepare(Xid)

public int Prepare(Xid arg0)

Parameters

arg0 Xid

Xid

Returns

int

int

Exceptions

XAException

Recover(int)

public Xid[] Recover(int arg0)

Parameters

arg0 int

int

Returns

Xid[]

Xid

Exceptions

XAException

Rollback(Xid)

public void Rollback(Xid arg0)

Parameters

arg0 Xid

Xid

Exceptions

XAException

SetTransactionTimeout(int)

public bool SetTransactionTimeout(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

XAException

Start(Xid, int)

public void Start(Xid arg0, int arg1)

Parameters

arg0 Xid

Xid

arg1 int

int

Exceptions

XAException