code: public void addXAResourceRecovery(XAResourceRecovery recovery)
     {
        if (!(recovery instanceof org.jboss.tm.XAResourceRecovery))
           throw new IllegalArgumentException("Recovery is not a org.jboss.tm.XAResourceRecovery instance");
  
        delegator.addXAResourceRecovery((org.jboss.tm.XAResourceRecovery)recovery);
     }
docs: {@inheritDoc}