public class JmxConnector extends Object
| Constructor and Description |
|---|
JmxConnector(org.apache.axis2.context.ConfigurationContext configCtx,
String backendServerURL,
String cookie) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addProfile(org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile profile) |
boolean |
addToolboxProfile() |
boolean |
checkDataPublisherAvailability(String connectionType,
String url,
int port) |
boolean |
deleteProfile(String profileName) |
void |
disableProfile(String profileName) |
void |
enableProfile(String profileName) |
org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile[] |
getAllProfiles() |
String[][] |
getMBeanAttributes(String objName,
String url,
String userName,
String Password) |
String[][] |
getMBeans(String url,
String userName,
String Password) |
org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile |
getProfile(String profileName) |
boolean |
updateProfile(org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile profile) |
public String[][] getMBeans(String url, String userName, String Password) throws RemoteException, org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentIOExceptionException
RemoteExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentIOExceptionExceptionpublic String[][] getMBeanAttributes(String objName, String url, String userName, String Password) throws RemoteException
RemoteExceptionpublic boolean addProfile(org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile profile)
throws RemoteException,
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileAlreadyExistsExceptionException,
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionException
RemoteExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileAlreadyExistsExceptionExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionExceptionpublic org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile getProfile(String profileName) throws org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionException, RemoteException, org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionException
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionExceptionRemoteExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionExceptionpublic boolean updateProfile(org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile profile)
throws RemoteException,
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionException,
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionException
RemoteExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionExceptionpublic boolean deleteProfile(String profileName) throws RemoteException, org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionException, org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionException
RemoteExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionExceptionpublic org.wso2.carbon.analytics.common.jmx.agent.stub.profiles.xsd.Profile[] getAllProfiles()
throws RemoteException,
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionException
RemoteExceptionorg.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentJmxProfileExceptionExceptionpublic void enableProfile(String profileName) throws org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionException, RemoteException
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionExceptionRemoteExceptionpublic void disableProfile(String profileName) throws org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionException, RemoteException
org.wso2.carbon.analytics.common.jmx.agent.stub.JmxAgentProfileDoesNotExistExceptionExceptionRemoteExceptionpublic boolean checkDataPublisherAvailability(String connectionType, String url, int port) throws RemoteException
RemoteExceptionpublic boolean addToolboxProfile()
throws RemoteException
RemoteExceptionCopyright © 2016 WSO2. All rights reserved.