public ExternalXAResource createXAResource ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createXAResource" ) ; ExternalXAResource instance = new MSDelegatingXAResource ( _ms , _persistence , getMaximumTransactionSize ( ) ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "createXAResource" , "return=" + instance ) ; return instance ; }
This method is used to create an XAResource that can be enlisted as a particpant in a two - phase XA compliant transaction .