public class ClassMediatorDeployer
extends org.apache.axis2.deployment.AbstractDeployer
Constructor and Description |
---|
ClassMediatorDeployer() |
Modifier and Type | Method and 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 store
|
void |
init(org.apache.axis2.context.ConfigurationContext configurationContext)
Initializes the Deployer
|
void |
setDirectory(java.lang.String s) |
void |
setExtension(java.lang.String s) |
void |
undeploy(java.lang.String fileName)
This will be called when a particular jar file is deleted from the specified folder.
|
public void init(org.apache.axis2.context.ConfigurationContext configurationContext)
configurationContext
- - ConfigurationContext of Axis2 from which
the deployer is initializedpublic void deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) throws org.apache.axis2.deployment.DeploymentException
deploy
in interface org.apache.axis2.deployment.Deployer
deploy
in class org.apache.axis2.deployment.AbstractDeployer
deploymentFileData
- - describes the updated fileorg.apache.axis2.deployment.DeploymentException
- - in case an error on the deploymentpublic void undeploy(java.lang.String fileName) throws org.apache.axis2.deployment.DeploymentException
undeploy
in interface org.apache.axis2.deployment.Deployer
undeploy
in class org.apache.axis2.deployment.AbstractDeployer
fileName
- - filename of the deleted fileorg.apache.axis2.deployment.DeploymentException
- - in case of an error in undeploymentpublic void setDirectory(java.lang.String s)
public void setExtension(java.lang.String s)
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.