|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.deployment.listener.RepositoryListenerImpl
Field Summary | |
protected Log |
log
|
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 | |
RepositoryListenerImpl(java.lang.String folderName,
DeploymentEngine deploy_engine)
This constructor take two argumnets folder name and referance to Deployment Engine Fisrt it initilize the syetm , by loading all the modules in the /modules directory and also create a WSInfoList to keep infor about available modules and services |
Method Summary | |
void |
checkModules()
this method ask serachWS to serch for the folder to caheck for updates |
void |
checkServices()
this method ask serachWS to serch for the folder to caheck for updates |
void |
extarctServiceArchive(java.io.File infile,
java.io.File outdirctory)
Will extarct given file , into same dirctory with the name of archive file (removing file extension) |
void |
init()
First it call to initalize method of WSInfoList to initilizat that then it call to checkModules to load all the module.jar s and then it call to update() method inorder to update the Deployment engine and engine regsitry |
void |
startListent()
this is the actual method that is call from scheduler |
void |
update()
call to update method of WSInfoList object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Log log
Constructor Detail |
public RepositoryListenerImpl(java.lang.String folderName, DeploymentEngine deploy_engine)
folderName
- path to parent directory that the listener should listentdeploy_engine
- refearnce to engine registry inorder to inform the updatesMethod Detail |
public void checkModules()
checkModules
in interface RepositoryListener
public void checkServices()
checkServices
in interface RepositoryListener
public void update()
update
in interface RepositoryListener
public void init()
init
in interface RepositoryListener
public void startListent()
public void extarctServiceArchive(java.io.File infile, java.io.File outdirctory)
infile
- java.io.File
Archive fileoutdirctory
- java.io.File
output file
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |