public static void addServersToSite(SSOToken ssoToken,String siteName,Collection serverInstanceNames) throws SMSException, SSOException, ConfigurationException {
  String siteId=getSiteId(ssoToken,siteName);
  if (siteId != null) {
    for (Iterator i=serverInstanceNames.iterator(); i.hasNext(); ) {
      String svr=(String)i.next();
      ServerConfiguration.addToSite(ssoToken,svr,siteName);
    }
  }
}

public static void addServersToSite ( SSOToken ssoToken , String siteName , Collection serverInstanceNames ) throws SMSException , SSOException , ConfigurationException { String siteId = getSiteId ( ssoToken , siteName ) ; if ( siteId != null ) { for ( Iterator i = serverInstanceNames . iterator ( ) ; i . hasNext ( ) ; ) { String svr = ( String ) i . next ( ) ; ServerConfiguration . addToSite ( ssoToken , svr , siteName ) ; } } }
adds a set of server instances to a site .
