Class EndPointAdminClient
java.lang.Object
org.wso2.am.admin.clients.endpoint.EndPointAdminClient
-
Constructor Summary
ConstructorsConstructorDescriptionEndPointAdminClient(String backEndUrl, String sessionCookie) EndPointAdminClient(String backEndURL, String userName, String password) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddDynamicEndPoint(String key, DataHandler dh) booleanaddDynamicEndPoint(String key, org.apache.axiom.om.OMElement endPointElem) booleanbooleanaddEndPoint(org.apache.axiom.om.OMElement endPointElem) booleanbooleandeleteEndpoint(String endpointName) voidenableEndpointStatistics(String endpointName) getDynamicEndpoint(String key) intString[]getEndpointConfiguration(String endpointName) intString[]org.wso2.carbon.endpoint.stub.types.service.EndpointMetaData[]
-
Constructor Details
-
EndPointAdminClient
public EndPointAdminClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
EndPointAdminClient
public EndPointAdminClient(String backEndURL, String userName, String password) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
-
Method Details
-
addEndPoint
public boolean addEndPoint(DataHandler dh) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, IOException, XMLStreamException - Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionIOExceptionXMLStreamException
-
addEndPoint
public boolean addEndPoint(org.apache.axiom.om.OMElement endPointElem) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, IOException, XMLStreamException - Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionIOExceptionXMLStreamException
-
addDynamicEndPoint
public boolean addDynamicEndPoint(String key, DataHandler dh) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, IOException, XMLStreamException - Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionIOExceptionXMLStreamException
-
addDynamicEndPoint
public boolean addDynamicEndPoint(String key, org.apache.axiom.om.OMElement endPointElem) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, IOException, XMLStreamException - Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionIOExceptionXMLStreamException
-
getEndpointCount
public int getEndpointCount() throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException- Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteException
-
getEndpointNames
public String[] getEndpointNames() throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException- Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteException
-
getDynamicEndpointCount
public int getDynamicEndpointCount() throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException- Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteException
-
getDynamicEndpoint
public String getDynamicEndpoint(String key) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException - Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteException
-
getDynamicEndpoints
public String[] getDynamicEndpoints() throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException- Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteException
-
enableEndpointStatistics
public void enableEndpointStatistics(String endpointName) throws RemoteException, org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException - Throws:
RemoteExceptionorg.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
-
deleteEndpoint
public boolean deleteEndpoint(String endpointName) throws RemoteException, org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException - Throws:
RemoteExceptionorg.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
-
deleteDynamicEndpoint
public boolean deleteDynamicEndpoint(String key) throws RemoteException, org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException - Throws:
RemoteExceptionorg.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
-
getEndpointConfiguration
public String getEndpointConfiguration(String endpointName) throws RemoteException, org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException - Throws:
RemoteExceptionorg.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
-
getEndpointsData
public org.wso2.carbon.endpoint.stub.types.service.EndpointMetaData[] getEndpointsData() throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, IOException, XMLStreamException- Throws:
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionIOExceptionXMLStreamException
-