Package org.apache.synapse.deployers
Class ClassMediatorDeployer
- java.lang.Object
-
- org.apache.axis2.deployment.AbstractDeployer
-
- org.apache.synapse.deployers.ClassMediatorDeployer
-
- All Implemented Interfaces:
org.apache.axis2.deployment.Deployer
public class ClassMediatorDeployer extends org.apache.axis2.deployment.AbstractDeployer
-
-
Constructor Summary
Constructors Constructor Description ClassMediatorDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData)This will be called when there is a change in the specified deployment folder (in the axis2.xml) and this will register class loader into the deployement storevoidinit(org.apache.axis2.context.ConfigurationContext configurationContext)Initializes the DeployervoidsetDirectory(String s)voidsetExtension(String s)voidundeploy(String fileName)This will be called when a particular jar file is deleted from the specified folder.
-
-
-
Method Detail
-
init
public void init(org.apache.axis2.context.ConfigurationContext configurationContext)
Initializes the Deployer- Parameters:
configurationContext- - ConfigurationContext of Axis2 from which the deployer is initialized
-
deploy
public void deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) throws org.apache.axis2.deployment.DeploymentExceptionThis will be called when there is a change in the specified deployment folder (in the axis2.xml) and this will register class loader into the deployement store- Specified by:
deployin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
deployin classorg.apache.axis2.deployment.AbstractDeployer- Parameters:
deploymentFileData- - describes the updated file- Throws:
org.apache.axis2.deployment.DeploymentException- - in case an error on the deployment
-
undeploy
public void undeploy(String fileName) throws org.apache.axis2.deployment.DeploymentException
This will be called when a particular jar file is deleted from the specified folder.- Specified by:
undeployin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
undeployin classorg.apache.axis2.deployment.AbstractDeployer- Parameters:
fileName- - filename of the deleted file- Throws:
org.apache.axis2.deployment.DeploymentException- - in case of an error in undeployment
-
setDirectory
public void setDirectory(String s)
-
setExtension
public void setExtension(String s)
-
-