if ( closed_ )
throw new IllegalStateException (
"XATransactionResource already closed" );
if ( !(participant instanceof XAResourceTransaction) )
throw new ResourceException ( "Wrong argument class: "
+ participant.getClass ().getName () );
XAResource xaresource = getXAResource ();
// if no connection then we can't recover the participant
if ( xaresource == null ) {
LOGGER.logWarning ( "XATransactionalResource " + getName() +