Class ClassMediatorDeployer

  • All Implemented Interfaces:
    org.apache.axis2.deployment.Deployer

    public class ClassMediatorDeployer
    extends org.apache.axis2.deployment.AbstractDeployer
    • Field Summary

      • Fields inherited from class org.apache.axis2.deployment.AbstractDeployer

        deploymentFileDataMap
    • 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 store
      void init​(org.apache.axis2.context.ConfigurationContext configurationContext)
      Initializes the Deployer
      void 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.
      • Methods inherited from class org.apache.axis2.deployment.AbstractDeployer

        cleanup
    • Constructor Detail

      • ClassMediatorDeployer

        public ClassMediatorDeployer()
    • 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 interface org.apache.axis2.deployment.Deployer
        Overrides:
        deploy in class org.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 interface org.apache.axis2.deployment.Deployer
        Overrides:
        undeploy in class org.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)