|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.deployment.AbstractDeployer
org.apache.synapse.deployers.ExtensionDeployer
public class ExtensionDeployer
This will support the hot deployment and hot update of Synapse extensions (mediators and startups) at runtime using the Axis2 concepts of deployers.
| Field Summary |
|---|
| Fields inherited from class org.apache.axis2.deployment.AbstractDeployer |
|---|
deploymentFileDataMap |
| Constructor Summary | |
|---|---|
ExtensionDeployer()
|
|
| Method Summary | |
|---|---|
void |
deploy(DeploymentFileData deploymentFileData)
This will be called when there is a change in the specified deployment folder (in the axis2.xml) and this will load the relevant classes to the system and register them with the MediatorFactoryFinder |
void |
init(ConfigurationContext configurationContext)
Initializes the Deployer |
void |
setDirectory(String string)
This will not be implemented because we do not support changing the directory at runtime |
void |
setExtension(String string)
This will not be implemented because we do not support changing the extension at runtime |
void |
undeploy(String string)
This will be called when a particular jar file is deleted from the specified folder. |
| Methods inherited from class org.apache.axis2.deployment.AbstractDeployer |
|---|
cleanup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensionDeployer()
| Method Detail |
|---|
public void init(ConfigurationContext configurationContext)
configurationContext - - ConfigurationContext of Axis2 from which
the deployer is initialized
public void deploy(DeploymentFileData deploymentFileData)
throws DeploymentException
deploy in interface Deployerdeploy in class AbstractDeployerdeploymentFileData - - describes the updated file
DeploymentException - - in case an error on the deploymentpublic void setDirectory(String string)
string - -public void setExtension(String string)
string - -
public void undeploy(String string)
throws DeploymentException
undeploy in interface Deployerundeploy in class AbstractDeployerstring - - filename of the deleted file
DeploymentException - - incase of an error in undeployment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||