code: public boolean activate() throws Exception
     {
        if (!activated)
        {
           if (connectionFactories != null)
           {
              for (ConnectionFactory cf : connectionFactories)
              {
                 cf.activate();
              }
           }
  
           if (adminObjects != null)
           {
              for (AdminObject ao : adminObjects)
              {
                 ao.activate();
              }
           }
  
           if (resourceAdapter != null)
           {
              resourceAdapter.activate();
           }
  
           activated = true;
           return true;
        }
  
        return false;
     }
docs: {@inheritDoc}