|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.deployment.RepositoryListener
public class RepositoryListener
| Field Summary | |
|---|---|
protected DeploymentEngine |
deploymentEngine
|
protected static org.apache.commons.logging.Log |
log
|
protected WSInfoList |
wsInfoList
Reference to a WSInfoList |
| Constructor Summary | |
|---|---|
RepositoryListener(DeploymentEngine deploymentEngine,
boolean isClasspath)
This constructor takes two arguments, a folder name and a reference to Deployment Engine First, it initializes the system, by loading all the modules in the /modules directory and then creates a WSInfoList to store information about available modules and services. |
|
| Method Summary | |
|---|---|
void |
addFileToDeploy(java.io.File file,
Deployer deployer,
int type)
|
void |
checkModules()
Finds a list of modules in the folder and adds to wsInfoList. |
void |
checkServices()
Finds a list of services in the folder and adds to wsInfoList. |
protected void |
findServicesInDirectory(java.io.File root)
Searches a given folder for aar files and adds them to a list in the WSInfolist class. |
protected java.lang.String |
getLocation()
To get the location of the Axis2.jar from that I can drive the location of class path |
void |
init()
First initializes the WSInfoList, then calls checkModule to load all the modules and calls update() to update the Deployment engine and engine registry. |
void |
init2(boolean isClasspath)
|
protected boolean |
isSourceControlDir(java.io.File file)
|
protected void |
loadClassPathModules()
|
void |
startListener()
Method invoked from the scheduler to start the listener. |
void |
update()
Updates WSInfoList object. |
void |
updateRemote()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
protected DeploymentEngine deploymentEngine
protected WSInfoList wsInfoList
| Constructor Detail |
|---|
public RepositoryListener(DeploymentEngine deploymentEngine,
boolean isClasspath)
deploymentEngine - reference to engine registry for updatesisClasspath - true if this RepositoryListener should scan the classpath for
Modules| Method Detail |
|---|
public void init2(boolean isClasspath)
public void checkModules()
protected boolean isSourceControlDir(java.io.File file)
protected void loadClassPathModules()
protected java.lang.String getLocation()
public void checkServices()
public void init()
protected void findServicesInDirectory(java.io.File root)
root - - directory from which we start searching for servicespublic void startListener()
public void update()
public void updateRemote()
throws java.lang.Exception
java.lang.Exception
public void addFileToDeploy(java.io.File file,
Deployer deployer,
int type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||