Package org.wso2.carbon.utils.deployment
Class GhostArtifactRepository
java.lang.Object
org.wso2.carbon.utils.deployment.GhostArtifactRepository
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
ConstructorsConstructorDescriptionGhostArtifactRepository(org.apache.axis2.engine.AxisConfiguration axisConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeploymentFileData(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData, boolean isGhost) Add a DeploymentFileDatagetDeploymentFileData(String fileName) removeDeploymentFileData(String filePath)
-
Constructor Details
-
GhostArtifactRepository
public GhostArtifactRepository(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
-
-
Method Details
-
getDeploymentFileData
-
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
-