Class EndPointAdminClient


  • public class EndPointAdminClient
    extends Object
    • Constructor Detail

      • 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 Detail

      • 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.EndpointAdminEndpointAdminException
        IOException
        XMLStreamException
      • 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.EndpointAdminEndpointAdminException
        IOException
        XMLStreamException
      • getEndpointCount

        public int getEndpointCount()
                             throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException,
                                    RemoteException
        Throws:
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        RemoteException
      • getEndpointNames

        public String[] getEndpointNames()
                                  throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException,
                                         RemoteException
        Throws:
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        RemoteException
      • getDynamicEndpointCount

        public int getDynamicEndpointCount()
                                    throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException,
                                           RemoteException
        Throws:
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        RemoteException
      • getDynamicEndpoint

        public String getDynamicEndpoint​(String key)
                                  throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException,
                                         RemoteException
        Throws:
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        RemoteException
      • getDynamicEndpoints

        public String[] getDynamicEndpoints()
                                     throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException,
                                            RemoteException
        Throws:
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        RemoteException
      • enableEndpointStatistics

        public void enableEndpointStatistics​(String endpointName)
                                      throws RemoteException,
                                             org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        Throws:
        RemoteException
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
      • deleteEndpoint

        public boolean deleteEndpoint​(String endpointName)
                               throws RemoteException,
                                      org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        Throws:
        RemoteException
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
      • deleteDynamicEndpoint

        public boolean deleteDynamicEndpoint​(String key)
                                      throws RemoteException,
                                             org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        Throws:
        RemoteException
        org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
      • getEndpointConfiguration

        public String getEndpointConfiguration​(String endpointName)
                                        throws RemoteException,
                                               org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
        Throws:
        RemoteException
        org.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.EndpointAdminEndpointAdminException
        IOException
        XMLStreamException