|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.deployment.repository.util.WSInfoList
Field Summary | |
java.util.List |
currentjars
All the curently updated jars |
Fields inherited from interface org.apache.axis2.deployment.DeploymentConstants |
AFTER, ATQNAME, ATTLOCKED, ATTNAME, ATUSE, AXIS_STORAGE, AXIS2CONFIG, BEANMAPPINGST, BEFORE, CLASSNAME, CONTEXTPATHNAME, DESCRIPTION, DIPSTCH_ORDER, DIPSTCHER, EXTRACTSERVICEARCHIVE, HANDERST, HOTDEPLOYMENT, HOTUPDATE, IN_FAILTFLOW, INFLOWST, JWS_EXTENSION, LISTENERST, MEP, MESSAGERECEIVER, META_INF, MODULE, MODULE_PATH, MODULECONFIG, MODULEST, MODULEXML, OPRATIONST, ORDER, OUT_FAILTFLOW, OUTFLOWST, PARAMETERST, PHASE, PHASE_ORDER, PHASEFIRST, PHASELAST, PHASEST, REF, SERVICE, SERVICE_ELEMENT, SERVICE_GROUP_ELEMENT, SERVICE_PATH, SERVICETAG, SERVICEWSDL, SERVICEXML, STYLENAME, TRANSPORTRECEIVER, TRANSPORTSENDER, TRANSPORTSTAG, TRANSPORTTAG, TYPE, TYPEMAPPINGST |
Constructor Summary | |
WSInfoList(DeploymentEngine deploy_engine)
|
Method Summary | |
void |
addWSInfoItem(java.io.File file,
int type)
First it check whether the file is already available in the system call isFileExist , if it is not deployed yet then it will add that to jarlist and to the deployment engine as new service or module in adding new item to jarlist it first create optimice and requird object to keep those infor call WSInfo and that will be added to jarist and actual jar file will be added to DeploymentEngine If it is alredy exsit then it check whether it has been updated then change the last update date of the wsInfo and added two entries to DeploymentEngine one for New Deployment and other for undeployment |
void |
checkForUndeploye()
this is to check , undeploye WS what this relly does is it caheck older jars files and current jars if name of the old jar file does not exit in the currecntjar list then it is assumed that the jar file has been removed that is hot undeployment |
WSInfo |
getFileItem(java.lang.String filename)
This method is to use to check the file exist and if so it will return related wsinfo object to the file else return null; |
void |
init()
This method is used to initialize the vector |
boolean |
isFileExist(java.lang.String filename)
to check whether the file is alredy in the list |
boolean |
isModified(java.io.File file,
WSInfo wsInfo)
comapre the last update dates of both files and if those are differ that will assume as the file is been modified |
void |
update()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.List currentjars
Constructor Detail |
public WSInfoList(DeploymentEngine deploy_engine)
Method Detail |
public void init()
public void addWSInfoItem(java.io.File file, int type)
file
- actual jar files for either Module or servicetype
- indicate either Service or Modulepublic WSInfo getFileItem(java.lang.String filename)
filename
-
public boolean isModified(java.io.File file, WSInfo wsInfo)
file
- wsInfo
-
public boolean isFileExist(java.lang.String filename)
filename
-
public void checkForUndeploye()
public void update()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |