com.wily.introscope.client.alerts.interfaces
Interface IIntroscopeClient

All Known Implementing Classes:
IntroscopeClient

public interface IIntroscopeClient

This interface represents a connection to a given Introscope Enterprise Manager. It provides the following functionalities: -Information on the configuration of the Introscope Enterprise Manager. -Topics that the EM connection wants to subscribe to on the Subscription Web services on the Introscope Enterprise Manager. The currently available topics for the EM Connection are: AgentInManModInventoryUpdate ManModInventoryUpdate AlertDefnInManModInventoryUpdate ManModStatusUpdate AgentStausUpdate AlertDefnInManModStatusUpdate AlertMessagesTriggered -Access to all the Polling Web Services that are available on the Introscope Enterprise Manager.


Field Summary
static java.lang.String CONTEXTPATH__ISCOPE_ALERT_POLLINGWS
           
static java.lang.String CONTEXTPATH__ISCOPE_CONSUMER_REGISTRATION_POLLINGWS
           
static java.lang.String CONTEXTPATH__ISCOPE_DASHBOARD_URL
           
static java.lang.String CONTEXTPATH__ISCOPE_EMLIFECYCLE_POLLINGWS
           
static java.lang.String CONTEXTPATH__ISCOPE_EVENTS_POLLINGWS
           
static java.lang.String CONTEXTPATH__ISCOPE_METRICS_DATA_POLLINGWS
           
static java.lang.String CONTEXTPATH__ISCOPE_METRICS_LIST_POLLINGWS
           
 
Method Summary
 IAlertPollingService getAlertPollingWS()
          Obtains the Alerts Polling Web Service
 IConsumerRegistrationService getConsumerRegistrationService()
          Obtains the Consumer Registration Web Service
 DEMConfig getEmConfig()
          Obtains the DEMConfig which comprises of the current Host, IP and launch time for the Introscope Enterprise Manager.
 java.lang.String getEmDashboardURL()
          Obtains the dashboard URL for the Introscope Enterprise Manager.
 IEmLifecycleService getEMLifecycleWS()
          Obtains the EM Lifecycle Polling Web Service
 java.lang.String getIscopePassword()
          Obtains the password for the userid that is used to login to the Introscope Enterprise Manager.
 java.lang.String getIscopeUser()
          Obtains the userid that is used to login to the Introscope Enterprise Manager.
 java.lang.String getIscopeWebServiceHost()
          Obtains the host where the Introscope Web Services will be available.
 int getIscopeWebServicePort()
          Obtains the port where the Introscope Web Services will be available.
 IMetricsDataService getMetricDataWS()
          Obtains the Metrics Data Web Service
 IMetricsListService getMetricListWS()
          Obtains the Metrics List Web Service
 IIntroscopeTopic[] getTopicsToSubscribeTo()
          Obtains the list of topics that the client needs to subscribe to
 void setEmConfig(DEMConfig emConfig)
          Set the current DEMConfig for the Introscope Enterprise Manager.
 void validate()
          Checks if the EM pointed to by this IIntroscopeClient 1.
 

Field Detail

CONTEXTPATH__ISCOPE_ALERT_POLLINGWS

static final java.lang.String CONTEXTPATH__ISCOPE_ALERT_POLLINGWS
See Also:
Constant Field Values

CONTEXTPATH__ISCOPE_METRICS_DATA_POLLINGWS

static final java.lang.String CONTEXTPATH__ISCOPE_METRICS_DATA_POLLINGWS
See Also:
Constant Field Values

CONTEXTPATH__ISCOPE_METRICS_LIST_POLLINGWS

static final java.lang.String CONTEXTPATH__ISCOPE_METRICS_LIST_POLLINGWS
See Also:
Constant Field Values

CONTEXTPATH__ISCOPE_EMLIFECYCLE_POLLINGWS

static final java.lang.String CONTEXTPATH__ISCOPE_EMLIFECYCLE_POLLINGWS
See Also:
Constant Field Values

CONTEXTPATH__ISCOPE_EVENTS_POLLINGWS

static final java.lang.String CONTEXTPATH__ISCOPE_EVENTS_POLLINGWS
See Also:
Constant Field Values

CONTEXTPATH__ISCOPE_CONSUMER_REGISTRATION_POLLINGWS

static final java.lang.String CONTEXTPATH__ISCOPE_CONSUMER_REGISTRATION_POLLINGWS
See Also:
Constant Field Values

CONTEXTPATH__ISCOPE_DASHBOARD_URL

static final java.lang.String CONTEXTPATH__ISCOPE_DASHBOARD_URL
See Also:
Constant Field Values
Method Detail

validate

void validate()
              throws java.net.MalformedURLException,
                     java.net.UnknownHostException,
                     WebServicesNotInstalledException,
                     UserNotAuthorizedException,
                     java.net.ConnectException
Checks if the EM pointed to by this IIntroscopeClient 1. Is running 2. Can be connected to using the credentials given 3. Has the required web services installed

Throws:
java.net.MalformedURLException
java.net.UnknownHostException
java.net.ConnectException
UserNotAuthorizedException
WebServicesNotInstalledException

getIscopeWebServiceHost

java.lang.String getIscopeWebServiceHost()
Obtains the host where the Introscope Web Services will be available.

Returns:
String

getIscopeWebServicePort

int getIscopeWebServicePort()
Obtains the port where the Introscope Web Services will be available.

Returns:
int

getIscopeUser

java.lang.String getIscopeUser()
Obtains the userid that is used to login to the Introscope Enterprise Manager.

Returns:
String

getIscopePassword

java.lang.String getIscopePassword()
Obtains the password for the userid that is used to login to the Introscope Enterprise Manager.

Returns:
String

setEmConfig

void setEmConfig(DEMConfig emConfig)
Set the current DEMConfig for the Introscope Enterprise Manager. This method is peridically invoked by the EM Hearbeat lifecycle listener, on receipt of a EM start/stop/heartbeat message from the Enterprise manager.

Parameters:
emConfig -

getEmConfig

DEMConfig getEmConfig()
                      throws java.lang.Exception
Obtains the DEMConfig which comprises of the current Host, IP and launch time for the Introscope Enterprise Manager.

Returns:
DEMConfig
Throws:
java.lang.Exception

getEmDashboardURL

java.lang.String getEmDashboardURL()
                                   throws java.lang.Exception
Obtains the dashboard URL for the Introscope Enterprise Manager.

Returns:
String
Throws:
java.lang.Exception

getTopicsToSubscribeTo

IIntroscopeTopic[] getTopicsToSubscribeTo()
Obtains the list of topics that the client needs to subscribe to

Returns:
IIntroscopeTopic[]

getEMLifecycleWS

IEmLifecycleService getEMLifecycleWS()
                                     throws java.lang.Exception
Obtains the EM Lifecycle Polling Web Service

Returns:
IEmLifecycleService
Throws:
java.lang.Exception

getAlertPollingWS

IAlertPollingService getAlertPollingWS()
                                       throws java.lang.Exception
Obtains the Alerts Polling Web Service

Returns:
IAlertPollingService
Throws:
java.lang.Exception

getMetricDataWS

IMetricsDataService getMetricDataWS()
                                    throws java.lang.Exception
Obtains the Metrics Data Web Service

Returns:
IMetricsDataService
Throws:
java.lang.Exception

getMetricListWS

IMetricsListService getMetricListWS()
                                    throws java.lang.Exception
Obtains the Metrics List Web Service

Returns:
IMetricsDataService
Throws:
java.lang.Exception

getConsumerRegistrationService

IConsumerRegistrationService getConsumerRegistrationService()
                                                            throws java.lang.Exception
Obtains the Consumer Registration Web Service

Returns:
IConsumerRegistrationService
Throws:
java.lang.Exception


Copyright © 2007 CA Inc. All Rights Reserved.