|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wily.introscope.client.alerts.manager.IntroscopeClient
public class IntroscopeClient
This is an implementation of the IIntroscopeClient interface. It represents a connection to a given Introscope Enterprise Manager. It provides the following functionalities: -Information on the configuration of the Introscope Enterprise Manager. -Parameters -Topics that the connection to the EM wants to subscribe to on the Subscription Web services provided by the Introscope Enterprise Manager. The available topics for the 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 |
---|
Fields inherited from interface com.wily.introscope.client.alerts.interfaces.IIntroscopeClient |
---|
CONTEXTPATH__ISCOPE_ALERT_POLLINGWS, CONTEXTPATH__ISCOPE_CONSUMER_REGISTRATION_POLLINGWS, CONTEXTPATH__ISCOPE_DASHBOARD_URL, CONTEXTPATH__ISCOPE_EMLIFECYCLE_POLLINGWS, CONTEXTPATH__ISCOPE_EVENTS_POLLINGWS, CONTEXTPATH__ISCOPE_METRICS_DATA_POLLINGWS, CONTEXTPATH__ISCOPE_METRICS_LIST_POLLINGWS |
Constructor Summary | |
---|---|
IntroscopeClient(java.lang.String iscopeWebServiceHost,
int iscopeWebServicePort,
java.lang.String iscopeUser,
java.lang.String iscopePassword,
IIntroscopeTopic[] topicsToSubscribeTo)
Constructor for constructing a connection to the Introscope Enterprise Manager providing the input parameters below. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object inObj)
Two IntroscopeClient objects are equal if the iscope web service host and port are the same. |
IAlertPollingService |
getAlertPollingWS()
Obtains the Alerts Polling Web Service |
IConsumerRegistrationService |
getConsumerRegistrationService()
Obtains the Events Data 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 Enterprise Manager Dashboard URL |
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 |
int |
hashCode()
|
void |
setEmConfig(DEMConfig emConfig)
Set the current DEMConfig for the Introscope Enterprise Manager. |
java.lang.String |
toString()
Converts the Host and port to a string |
void |
validate()
Checks if the EM pointed to by this IIntroscopeClient 1. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IntroscopeClient(java.lang.String iscopeWebServiceHost, int iscopeWebServicePort, java.lang.String iscopeUser, java.lang.String iscopePassword, IIntroscopeTopic[] topicsToSubscribeTo) throws java.lang.Exception
iscopeWebServiceHost
- iscopeWebServicePort
- iscopeUser
- iscopePassword
- topicsToSubscribeTo
-
java.lang.Exception
Method Detail |
---|
public void validate() throws java.net.MalformedURLException, WebServicesNotInstalledException, java.net.UnknownHostException, UserNotAuthorizedException, java.net.ConnectException
validate
in interface IIntroscopeClient
java.net.MalformedURLException
WebServicesNotInstalledException
java.net.UnknownHostException
UserNotAuthorizedException
java.net.ConnectException
public java.lang.String getIscopeWebServiceHost()
getIscopeWebServiceHost
in interface IIntroscopeClient
public int getIscopeWebServicePort()
getIscopeWebServicePort
in interface IIntroscopeClient
public java.lang.String getIscopePassword()
getIscopePassword
in interface IIntroscopeClient
public java.lang.String getIscopeUser()
getIscopeUser
in interface IIntroscopeClient
public IIntroscopeTopic[] getTopicsToSubscribeTo()
getTopicsToSubscribeTo
in interface IIntroscopeClient
public IEmLifecycleService getEMLifecycleWS() throws java.lang.Exception
getEMLifecycleWS
in interface IIntroscopeClient
java.lang.Exception
public IAlertPollingService getAlertPollingWS() throws java.lang.Exception
getAlertPollingWS
in interface IIntroscopeClient
java.lang.Exception
public IMetricsDataService getMetricDataWS() throws java.lang.Exception
getMetricDataWS
in interface IIntroscopeClient
java.lang.Exception
public IMetricsListService getMetricListWS() throws java.lang.Exception
getMetricListWS
in interface IIntroscopeClient
java.lang.Exception
public IConsumerRegistrationService getConsumerRegistrationService() throws java.lang.Exception
getConsumerRegistrationService
in interface IIntroscopeClient
java.lang.Exception
public void setEmConfig(DEMConfig emConfig)
setEmConfig
in interface IIntroscopeClient
emConfig
- public DEMConfig getEmConfig() throws java.lang.Exception
getEmConfig
in interface IIntroscopeClient
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getEmDashboardURL() throws java.lang.Exception
getEmDashboardURL
in interface IIntroscopeClient
java.lang.Exception
public boolean equals(java.lang.Object inObj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |