Class GhostArtifactRepository

java.lang.Object
org.wso2.carbon.utils.deployment.GhostArtifactRepository

public class GhostArtifactRepository extends Object
Keeps track of deployment file data objects of ghost artifacts. This is needed to load to actual service when needed. We also need a reference to the actual deployment file data to unload a webapp and load its ghost after a period of inactivity.
  • Constructor Details

    • GhostArtifactRepository

      public GhostArtifactRepository(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
  • Method Details

    • getDeploymentFileData

      public DeploymentFileDataWrapper getDeploymentFileData(String fileName)
    • addDeploymentFileData

      public void addDeploymentFileData(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData, boolean isGhost)
      Add a DeploymentFileData
      Parameters:
      deploymentFileData -
      isGhost - true if this dfd was deployed as a ghost. false otherwise.
    • removeDeploymentFileData

      public DeploymentFileDataWrapper removeDeploymentFileData(String filePath)