code: @Override
     public XAResource[] getXAResources()
     {
        try
        {
           XAResource[] result = resourceAdapter.getXAResources(new ActivationSpec[] {activationSpec});
  
           if (result == null || result.length == 0)
              return result;
  
           XAResource[] newResult = new XAResource[result.length];
           for (int i = 0; i < result.length; i++)
           {
              newResult[i] = new XAResourceWrapperImpl(result[i], productName, productVersion);
           }
           return newResult;
        }
        catch (NotSupportedException nse)
        {
           // Ignore
        }
        catch (ResourceException re)
        {
           log.exceptionDuringCrashRecoveryInflow(resourceAdapter.getClass().getName(), activationSpec, re);
        }
  
        return new XAResource[0];
     }
docs: {@inheritDoc}