Class EventSinkDeployer

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

    public class EventSinkDeployer
    extends org.apache.axis2.deployment.AbstractDeployer
    Axis2 deployer which deploys event sinks
    • Constructor Detail

      • EventSinkDeployer

        public EventSinkDeployer()
    • Method Detail

      • init

        public void init​(org.apache.axis2.context.ConfigurationContext configurationContext)
      • deploy

        public void deploy​(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData)
                    throws org.apache.axis2.deployment.DeploymentException
        Deploys event sink specified by deploymentFileData. This is called whenever an event sink artifact is added, modified, deleted from the event sink artifact directory
        Specified by:
        deploy in interface org.apache.axis2.deployment.Deployer
        Overrides:
        deploy in class org.apache.axis2.deployment.AbstractDeployer
        Parameters:
        deploymentFileData - File data about the event sink artifact to be deployed
        Throws:
        org.apache.axis2.deployment.DeploymentException
      • setDirectory

        public void setDirectory​(String s)
      • setExtension

        public void setExtension​(String s)
      • undeploy

        public void undeploy​(String fileName)
                      throws org.apache.axis2.deployment.DeploymentException
        Undeploys previously deployed event sink artifact. This is called whenever an event sink artifact is deleted from event sink artifact directory. Also, this is called when an already existing artifact is modified, followed by a call to deploy()
        Specified by:
        undeploy in interface org.apache.axis2.deployment.Deployer
        Overrides:
        undeploy in class org.apache.axis2.deployment.AbstractDeployer
        Parameters:
        fileName - File name of the artifact to be undeployed
        Throws:
        org.apache.axis2.deployment.DeploymentException
      • cleanup

        public void cleanup()
                     throws org.apache.axis2.deployment.DeploymentException
        Specified by:
        cleanup in interface org.apache.axis2.deployment.Deployer
        Overrides:
        cleanup in class org.apache.axis2.deployment.AbstractDeployer
        Throws:
        org.apache.axis2.deployment.DeploymentException