public boolean isJCAImportedAndPrepared ( String providerId ) { return _JCARecoveryData != null && _status . getState ( ) == TransactionState . STATE_PREPARED && _JCARecoveryData . getWrapper ( ) . getProviderId ( ) . equals ( providerId ) ; }
Returns true if this tx was imported by the given RA and is prepared