Class Axis2RepoManagerClient

java.lang.Object
org.wso2.carbon.repomanager.axis2.ui.Axis2RepoManagerClient

public class Axis2RepoManagerClient extends Object
  • Constructor Details

    • Axis2RepoManagerClient

      public Axis2RepoManagerClient(org.apache.axis2.context.ConfigurationContext ctx, String serverURL, String cookie) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • Axis2RepoManagerClient

      public Axis2RepoManagerClient(String cookie, javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
  • Method Details

    • uploadArtifacts

      public void uploadArtifacts(org.wso2.carbon.repomanager.axis2.stub.types.Axis2ArtifactUploadData[] artifactUploadData, String fileUploadDir) throws Exception
      Throws:
      Exception
    • getDirs

      public org.wso2.carbon.repomanager.axis2.stub.types.DirectoryStructureMetaData getDirs() throws RemoteException, org.wso2.carbon.repomanager.axis2.stub.Axis2RepoManagerJSONExceptionException
      Throws:
      RemoteException
      org.wso2.carbon.repomanager.axis2.stub.Axis2RepoManagerJSONExceptionException
    • deleteLibs

      public boolean deleteLibs(String libPath) throws RemoteException
      Throws:
      RemoteException
    • restartAxis2Server

      public boolean restartAxis2Server() throws RemoteException
      Throws:
      RemoteException
    • downloadArtifact

      public void downloadArtifact(String filePath, javax.servlet.http.HttpServletResponse response, String filename) throws IOException
      Throws:
      IOException