code: public boolean deactivate() throws Exception
     {
        if (activated)
        {
           recovery.shutdown();
           registry.removeXAResourceRecovery(recovery);
           
           activated = false;
           return true;
        }
  
        return false;
     }
docs: {@inheritDoc}