Class EndPointAdminClient
- java.lang.Object
-
- org.wso2.am.admin.clients.endpoint.EndPointAdminClient
-
public class EndPointAdminClient extends Object
-
-
Constructor Summary
Constructors Constructor Description EndPointAdminClient(String backEndUrl, String sessionCookie)EndPointAdminClient(String backEndURL, String userName, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddDynamicEndPoint(String key, DataHandler dh)booleanaddDynamicEndPoint(String key, org.apache.axiom.om.OMElement endPointElem)booleanaddEndPoint(DataHandler dh)booleanaddEndPoint(org.apache.axiom.om.OMElement endPointElem)booleandeleteDynamicEndpoint(String key)booleandeleteEndpoint(String endpointName)voidenableEndpointStatistics(String endpointName)StringgetDynamicEndpoint(String key)intgetDynamicEndpointCount()String[]getDynamicEndpoints()StringgetEndpointConfiguration(String endpointName)intgetEndpointCount()String[]getEndpointNames()org.wso2.carbon.endpoint.stub.types.service.EndpointMetaData[]getEndpointsData()
-
-
-
Method Detail
-
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
-
-