Save This Page
Home » axis2-1.5-src » org.apache.axis2.deployment.repository » util » [javadoc | source]
org.apache.axis2.deployment.repository.util
public class: WSInfoList [javadoc | source]
java.lang.Object
   org.apache.axis2.deployment.repository.util.WSInfoList

All Implemented Interfaces:
    DeploymentConstants

Field Summary
public  Map currentJars    All the currently updated jars 
Constructor:
 public WSInfoList(DeploymentEngine deploy_engine) 
Method from org.apache.axis2.deployment.repository.util.WSInfoList Summary:
addWSInfoItem,   init,   update
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axis2.deployment.repository.util.WSInfoList Detail:
 public synchronized  void addWSInfoItem(File file,
    Deployer deployer,
    int type) 
    First checks whether the file is already available by the system call fileExists. If it is not deployed yet then adds to the jarList and to the deployment engine as a new service or module. While adding new item to jarList, first creates the WSInfo object and then adds to the jarlist and actual jar file is added to DeploymentEngine.

    If the files already exists, then checks whether it has been updated then changes the last update date of the wsInfo and adds two entries to DeploymentEngine - one for new deployment and other for undeployment.

 public  void init() 
    Clears the jarlist.
 public  void update()