Package 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.
-
-
Constructor Summary
Constructors Constructor Description GhostArtifactRepository(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeploymentFileData(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData, boolean isGhost)Add a DeploymentFileDataDeploymentFileDataWrappergetDeploymentFileData(String fileName)DeploymentFileDataWrapperremoveDeploymentFileData(String filePath)
-
-
-
Method Detail
-
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)
-
-