org.wso2.carbon.utils.deployment
Class GhostArtifactRepository

java.lang.Object
  extended by 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
GhostArtifactRepository(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
           
 
Method Summary
 void addDeploymentFileData(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData, boolean isGhost)
          Add a DeploymentFileData
 DeploymentFileDataWrapper getDeploymentFileData(String fileName)
           
 DeploymentFileDataWrapper removeDeploymentFileData(String filePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhostArtifactRepository

public GhostArtifactRepository(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
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)


Copyright © 2014 WSO2 Inc. All rights reserved.