public void setService(Service service) {
      this.service = service;
    }
@param service
         the service to set
ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterDeadlockTest.java