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 void
deploy(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 storevoid
init(org.apache.axis2.context.ConfigurationContext configurationContext)
Initializes the Deployervoid
setDirectory(String s)
void
setExtension(String s)
void
undeploy(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.DeploymentException
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 store- Specified by:
deploy
in interfaceorg.apache.axis2.deployment.Deployer
- Overrides:
deploy
in 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:
undeploy
in interfaceorg.apache.axis2.deployment.Deployer
- Overrides:
undeploy
in 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)
-
-