com.plumtree.portalpages.admin.ptutilities.diagnostic.relatedservers
Class ServerStatusHelper

java.lang.Object
  extended by com.plumtree.portalpages.admin.ptutilities.diagnostic.relatedservers.ServerStatusHelper

public class ServerStatusHelper
extends java.lang.Object

Helper class for RemoteHostsModel and RelatedServersPage

Author:
OkanA

Method Summary
static java.lang.String GetHostName(java.lang.String _strURL)
          This method gets the normalized host name from a URL.
static ServerStatusHelper getInstance()
           
 XPHashtable GetPortletIDs(AActivitySpace m_asOwner, int serverID)
          Returns a list of unique hosts and portlets for each host
 boolean GetServerStatus(AActivitySpace m_asOwner, XPHashtable initialPortletStatus, XPHashtable hosts, java.lang.Object[][] objectData, int nStatusTimeout)
          This helper method retrieves the server status for given host->portlet id mappings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServerStatusHelper getInstance()

GetServerStatus

public boolean GetServerStatus(AActivitySpace m_asOwner,
                               XPHashtable initialPortletStatus,
                               XPHashtable hosts,
                               java.lang.Object[][] objectData,
                               int nStatusTimeout)
This helper method retrieves the server status for given host->portlet id mappings

Parameters:
m_asOwner -
initialPortletStatus -
hosts -
objectData -
nStatusTimeout -
Returns:

GetPortletIDs

public XPHashtable GetPortletIDs(AActivitySpace m_asOwner,
                                 int serverID)
Returns a list of unique hosts and portlets for each host

Parameters:
m_asOwner -
serverID - object id of the server to query. If serverID is passed, the method will return a portlet for this server only. If -1 is passed, it will return all unique tuples.
Returns:
hashtable of

GetHostName

public static java.lang.String GetHostName(java.lang.String _strURL)
This method gets the normalized host name from a URL.

Parameters:
_strURL -
Returns:
The normalized host name.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.