public class ExtensionDeployer
extends org.apache.axis2.deployment.AbstractDeployer
Constructor and Description |
---|
ExtensionDeployer() |
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 load the relevant classes to the system and
register them with the MediatorFactoryFinder
|
void |
init(org.apache.axis2.context.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.
|
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 setDirectory(String string)
string
- -public void setExtension(String string)
string
- -public void undeploy(String string) throws org.apache.axis2.deployment.DeploymentException
undeploy
in interface org.apache.axis2.deployment.Deployer
undeploy
in class org.apache.axis2.deployment.AbstractDeployer
string
- - filename of the deleted fileorg.apache.axis2.deployment.DeploymentException
- - incase of an error in undeploymentCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.