the xaresource api spec indicates implies that this is only for 2-phase transactions . i guess that one-phase transactions need to call rollback to abort . i think we want this jdbcxaresource instance to be garbage-collectable after a this method is called , and b the tx manager releases its handle to it . concode_field_sep boolean originalAutoCommitMode concode_elem_sep int XA_STATE_INITIAL concode_elem_sep int XA_STATE_DISPOSED concode_elem_sep int XA_STATE_PREPARED concode_elem_sep JDBCXADataSource xaDataSource concode_elem_sep JDBCConnection connection concode_elem_sep int XA_STATE_STARTED concode_elem_sep int XA_STATE_ENDED concode_elem_sep int state concode_elem_sep Xid xid concode_field_sep void rollback concode_elem_sep int getTransactionTimeout concode_elem_sep int prepare concode_elem_sep void validateXid concode_elem_sep Xid[] recover concode_elem_sep void commitThis concode_elem_sep boolean setTransactionTimeout concode_elem_sep void commit concode_elem_sep void rollbackThis concode_elem_sep void start concode_elem_sep boolean withinGlobalTransaction concode_elem_sep JDBCXADataSource getXADataSource concode_elem_sep void dispose concode_elem_sep void end concode_elem_sep boolean isSameRM
void function ( Xid arg0 ) { validateXid ( arg0 ) ; if ( state != XA_STATE_PREPARED ) { throw new XAException ( "srini_string" + "srini_string" ) ; } dispose ( ) ; state = XA_STATE_INITIAL ; }