FileDocCategorySizeDatePackage
NativeXAResource.javaAPI DocGlassfish v2 API3107Fri May 04 22:36:38 BST 2007None

NativeXAResource

public interface NativeXAResource implements XAResource
This interface extends JTA XAResource interface and defines new methods for thread association support and resource initialization.

Fields Summary
Constructors Summary
Methods Summary
public voidclose()
Closes the RM for the calling thread (xa_close).

public voidenlistConnectionInXA()
enlist the JDBC connection in XA (needed to support MSSQLServer) this should be called once per connection per transaction

public booleanisInitialized(java.lang.Thread thread)
checks if the thread has opened (xa_open) the RM atleast once.

param
thread the thread to be checked for resource initialization.
return
true if the thread has opened the resource (RM) atleast once.

public voidopen()
Opens the RM for the calling thread (xa_open).