org.wso2.carbon.utils.deployment
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhostArtifactRepository
public GhostArtifactRepository(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
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)
Copyright © 2014 WSO2 Inc. All rights reserved.